Comment envoyer une commande à CMD en utilisant 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