python的pywifi模块怎么获取当前已连接WIFI的名称
import pywifi def run(): # 抓取网卡接口 wifi = pywifi.PyWiFi() # 获取无线网卡 ifaces = wifi.interfaces()[1] # 获取无线网卡信息 profile = ifaces.scan_results()[0] # 获取名字 print(profile.ssid) pass