execute python in windows cmd 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!