Ray-Von-Mice
Ray-Von-Mice

Reputation: 429

Python installation and setting error

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: enter image description here

Working environment is Window7 64bit. And here is how i set my python path: enter image description here

enter image description here

Are there anything wrong with my setting commands? Or am i using the incorrect version? Thanks for help.

Upvotes: 0

Views: 26

Answers (1)

Elixir Techne
Elixir Techne

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

Related Questions