how to use python file to use command line code example
Example 1: Windows 10 running python scripts from cmd
# move to the directory where the script is located and run it like so
cd (path to directory)
python name.py
Example 2: how to run python in cmd
$ python3 hello.py
Hello World!