We Recommend

Learning Python Learning Python
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation.


Posted By

fontanon on 10/29/08


Tagged

python wifi


Versions (?)


Who likes this?

1 person has marked this snippet as a favorite

denver320


WiFi signal monitor in 6 source lines of code


Published in: Python 


Rudimentary python wifi signal level monitor using pythonwifi library. $ easyinstall pythonwifi

  1. import time
  2. from pythonwifi.iwlibs import Wireless
  3.  
  4. wifi = Wireless('eth1')
  5.  
  6. while True:
  7. print wifi.getStatistics()[1].getSignallevel()
  8. time.sleep(1)

Report this snippet 

You need to login to post a comment.