#!/usr/bin/python2 import wireless import time wf = wireless.wireless("wlan0") while(True): print "level: " + wf.level() + " dBm" print "link: " + wf.link() + " dBm" print "noise: " + wf.noise() + " dBm" time.sleep(1)