write in terminal python code example
Example 1: python write to command prompt
import os
os.system("start /B start cmd.exe @cmd /k {command}")
Example 2: python how to run terminal command
#By Uku Loskit
import os
os.system("ls -l")
import os
os.system("start /B start cmd.exe @cmd /k {command}")
#By Uku Loskit
import os
os.system("ls -l")