How to run a command prompt command in Python code example
Example 1: python write to command prompt
import os
os.system("start /B start cmd.exe @cmd /k {command}")
Example 2: how to run cmd line commands in python
import os
os.system("javac lolol.java")# or something....
Example 3: how to execute a cmd command in python
CMD /K - execute a command then remain
import os
os.system('cmd /k "Your Command Prompt Command"')