Jak wykonać polecenie CMD w Python
CMD /K - execute a command then remain
import os
os.system('cmd /k "Your Command Prompt Command"')
Worrisome Wombat
CMD /K - execute a command then remain
import os
os.system('cmd /k "Your Command Prompt Command"')
import os
os.system("javac lolol.java")# or something....
os.system("start /wait cmd /c {command}")
import os
os.system('cmd /k "Your Command Prompt Command"')
import os
os.system("Command") # this is your cmd/terminal