how to run a python file from the command line code example
Example 1: run python file using python code
exec(open('file.py').read())
Example 2: how to run python file from cmd
// To run pytho script from CMD
// type python and the name of the file. Assuming hello.py
python hello.py