About Lesson
Python Scripts from Command Line
This lesson will teach you how to run a Python script from the command line. A Python script can be executed from the command line using the Python interpreter.
Windows
Launch the Command Prompt:
Change the directory to the script location.
/> python myscript.py
Linux
Open the Terminal window:
$ python myscript.py