Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to disconnect wifi using python

import os 
def enable():
    os.system("netsh interface set interface 'Wifi' enabled")

def disable():
    os.system("netsh interface set interface 'Wifi' disabled")      
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #disconnect #wifi #python
ADD COMMENT
Topic
Name
8+2 =