Knowledge for the World

How to run a python script on the OSX Terminal

  • by Tyler (218)
  • Time to complete: 1 minute

Simply navigate to the script directory and type:


This will use the python interpreter to run your script.


You might need to specify the full path to the python interpreter.

which python

should produce:


So you might try running: