Well, subprocess with netsh should do what you want. See this: http://www.toptip.ca/2011/03/find-out-wh...-your.html
So, subprocess...
So, subprocess...
import subprocess command = "netsh wlan show networks mode=bssid".split() output = subprocess.check_output(command).decode('ascii') # or you can pass the command hardcoded: ['netsh', 'wlan0', 'show', 'networks', 'mode=bssid'] for line in output.split('\n'): if 'SSID' in line: print(line, end="") elif 'Channel' in line: print(line, '\n')For example... Since I do not use Windows at all, I can't try it.