python send cmd code example
Example: how to send a command to cmd using python
import os
# this command will be executed in cmd eg.echo hi
os.system("echo hi")
#output
#hi
import os
# this command will be executed in cmd eg.echo hi
os.system("echo hi")
#output
#hi