Esteban Küber
Esteban Küber

Reputation: 36862

How to identify the currently available wireless networks with Python in Windows?

Is there a way to get a list of wireless networks (SSID's) that are currently available? And seeing what is the current connected network?

Doesn't need to be exactly the SSID, I just need to identify the current wireless network.

Upvotes: 2

Views: 2553

Answers (1)

Lior Cohen
Lior Cohen

Reputation: 9055

You can use the netsh command. I don't remember the exact syntax used to invoke cli commands from within python, but I'm sure it should be fairly easy to locate.

The article below has more information about how to use netsh itself:

http://technet.microsoft.com/en-us/library/cc755301%28WS.10%29.aspx#bkmk_wlanShowNetworks

Upvotes: 2

Related Questions