how to run python script in windows 10 code example
Example 1: how to run python file in when windows startup
C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Content of run_script.cmd
python path\to\your\script.py
Example 2: 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