📅  最后修改于: 2022-03-11 14:46:32.704000             🧑  作者: Mango
import os
def enable():
os.system("netsh interface set interface 'Wifi' enabled")
def disable():
os.system("netsh interface set interface 'Wifi' disabled")