Cómo enviar un comando a CMD usando Python
import os
# this command will be executed in cmd eg.echo hi
os.system("echo hi")
#output
#hi
Poor Peccary
import os
# this command will be executed in cmd eg.echo hi
os.system("echo hi")
#output
#hi