how to execute a phyton file code example Example: how to execute a python script C:\Python27\python.exe C:\Users\Username\Desktop\my_python_script.py