Anyone can help me that how to pass two commands in Popen function
I have to pass following two commands to be executed in cmd console
netsh wlan set hostednetwork mode=allow ssid=kumawat_infinity key=123456789a
NETSH WLAN start hostednetwork
This command will enable hotspot in the window.
import os
os.popen('netsh wlan set hostednetwork mode=allow ssid=kumawat_infinity key=123456789a')
os.popen('NETSH WLAN start hostednetwork')