Reputation: 429
I follow official document that directs installation and setting of Python 3.5 in Windows7. However, i couldn't initiate my python study and was blocked by either NameError or SyntaxError, they look like:
Working environment is Window7 64bit. And here is how i set my python path:
Are there anything wrong with my setting commands? Or am i using the incorrect version? Thanks for help.
Upvotes: 0
Views: 26
Reputation: 1856
You are trying to run a python file from python shell.
Either run the file like > Python myscript.py OR type commands in python shell like >>> print ("Hello World").
Upvotes: 1