I have a file called gameover.py
in a folder called python which is in my documents.
When I try to run it in the terminal via the command:
python gameover.py
I get this:
/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'gameover.py': [Errno 2] No such file or directory
Edit: I tried this:
$ cd ~/Documents/python
$ python gameover.py
and I get this error:
File "gameover.py", line 1
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 16 2013, 23:39:35)
^
SyntaxError: invalid syntax
Please help!