Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import subprocess
- ipconfig = subprocess.Popen(['netsh', 'wlan', 'show', 'networks'],stdout=subprocess.PIPE)
- out = ' '
- while out:
- out = ipconfig.stdout.readline()
- print(out.rstrip().decode('cp866'))
Advertisement
Add Comment
Please, Sign In to add comment