how to run cmd a python script 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....