2016-01-22 57 views
0

我遵循官方文檔,指導在Windows7中安裝和設置Python 3.5。但是,我無法啓動我的python研究並被NameError或SyntaxError封鎖,它們看起來像: enter image description herePython安裝和設置錯誤

工作環境是Window7 64位。這裏是我如何設置我的Python路徑: enter image description here

enter image description here

是否有什麼錯我的設置命令?或者我使用不正確的版本?感謝幫助。

回答

1

您正試圖從python shell運行python文件。

運行文件像> Python myscript.py或者在python shell中輸入命令>>> print(「Hello World」)。

+0

明白了。非常感謝你。學習數據結構和算法理論與入門級python。很長的路要走。 –