command line python run script code example
Example 1: python how to run terminal command
#By Uku Loskit
import os
os.system("ls -l")
Example 2: how to run python in cmd
$ python3 hello.py
Hello World!
#By Uku Loskit
import os
os.system("ls -l")
$ python3 hello.py
Hello World!