Jan-15-2019, 04:32 AM
Hello,
I tried to use this code and modify, looks like it doesn't do anything.
any suggestions, Please
My Output:
Thanks
MP
I tried to use this code and modify, looks like it doesn't do anything.
any suggestions, Please
import os
os.system("netsh interface show interface")
def enable():
os.system("netsh interface set interface 'Wi-Fi' enabled")
def disable():
os.system("netsh interface set interface 'Wi-Fi' disabled")
My Output:
Quote:My OutPut:
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Connected Dedicated Wi-Fi
Disabled Disconnected Dedicated TPALAN
Process finished with exit code 0
Thanks
MP