Jak otworzyć CMD i uruchomić kod za pomocą Pythona

os.system("start /wait cmd /c {command}")
Thoughtless Tapir