How would I find the SSID of a network in Python 3? [closed]

99封情书 提交于 2021-02-09 07:54:09

问题


Is there a way that Python 3 can tell me about network state of my machine? Specifically:

  • The SSID that my machine is currently connected to.
  • Internet connectivity state
  • Uptime/Downtime

Most important for my use case is the SSID, but the others are nice to have too.

I've seen implementations online that run external programs, and I've seen the netifaces package, but it doesn't seem to be able to query the SSID.

来源:https://stackoverflow.com/questions/35706483/how-would-i-find-the-ssid-of-a-network-in-python-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!