Pywifi在今日头条上看到有人在使用,也尝试的学着如果去运用,根据官网的链接尝试的编码是可以运行的,如果你想要更加完善,则看你的应用领域在哪
参考官网API 文档链接 (https://pypi.org/project/pywifi/)。参考github的链接(https://github.com/awkman/pywifi/blob/master/DOC.md)
import pywifi
from pywifi import const
profile = pywifi.Profile()
profile.ssid ='名称' #wifi名称
profile.auth