Как выполнить команду CMD в 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....
import os
os.system("help")