python run ubuntu console command code example
Example 1: python run command
import os
os.system('cmd /k "Your Command Prompt Command"')
Example 2: python how to run terminal command
#By Uku Loskit
import os
os.system("ls -l")
import os
os.system('cmd /k "Your Command Prompt Command"')
#By Uku Loskit
import os
os.system("ls -l")