Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import subprocess
  2. ipconfig = subprocess.Popen(['netsh', 'wlan', 'show', 'networks'],stdout=subprocess.PIPE)
  3. out = ' '
  4. while out:
  5. out = ipconfig.stdout.readline()
  6. print(out.rstrip().decode('cp866'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement