run python script locally code example
Example 1: run python file using python code
exec(open('file.py').read())
Example 2: python how to run terminal command
#By Uku Loskit
import os
os.system("ls -l")
exec(open('file.py').read())
#By Uku Loskit
import os
os.system("ls -l")