简体   繁体   中英

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: 在此处输入图片说明

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.

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").

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM