I tried running a simple python file from the command line. I created a python file called script0.py with the following content
print 2**2
I get a syntax error.
>>> python script0.py
File "<stdin>", line 1
python script0.py
^
SyntaxError: invalid syntax
>>>
What is that? My first try with python has been really bad and the book of Mark Lutz is not helping. I use Python 2.7.
Thanks

python script0.pydoesn't go in an interactive Python session; it goes in the shell, a.k.a. command prompt.