#!/usr/bin/python2 from wifi_fieldstrength import wifi_fieldstrength from time import sleep wf = wifi_fieldstrength("wlan0") while(True): print "Field strength: " + str(wf.read()) + " dBm" sleep(1)