12 lines
262 B
Python
12 lines
262 B
Python
#https://www.geeksforgeeks.org/how-to-find-available-wifi-networks-using-python/
|
|
|
|
import subprocess
|
|
|
|
devices = subprocess.check_output(['netsh', 'wlan', 'show', 'network'])
|
|
devices = devices.decode('ascii')
|
|
devices = devices.replace("\r", "")
|
|
|
|
print(devices)
|
|
|
|
|