Jak wysłać polecenie do CMD za pomocą Pythona
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