How to run Python script on terminal?

macos, python, terminal

Solution

You need python installed on your system. Then you can run this in the terminal in the correct directory:

python gameover.py

Problem

I want to run a Python script in Terminal, but I don't know how? I already have a saved file called gameover.py in the directory "/User/luca/Documents/python".

Original source