How do I run a python executable?

Run your script

  1. Open Command line: Start menu -> Run and type cmd.
  2. Type: C:\python27\python.exe Z:\code\hw01\script.py.
  3. Or if your system is configured correctly, you can drag and drop your script from Explorer onto the Command Line window and press enter.

For More Information Please Refer:
https://www.cs.bu.edu/courses/cs108/guides/runpython.html
You May Also Like to Read: