how to write something in command prompt using python code example
Example: python write to command prompt
import os
os.system("start /B start cmd.exe @cmd /k {command}")
import os
os.system("start /B start cmd.exe @cmd /k {command}")