[问题] Python安装

楼主: rer429 (phoenix)   2016-01-06 22:41:50
小弟最近在coursera上学习python一小段时间,
打算从网页版转往自己的电脑
目前动作:
已安装2.7.11
在cmd >> python 有进入python cmd
但....自己用sublime text 写的hello world却印不出来 <囧> 会直接执行网页...
安装位置确实为 C:\Python27
https://goo.gl/L1dNm2
已在系统变量修改 C:\Python27;C:\Python27\Scripts
https://goo.gl/ACUyJ4
但当我要执行的时候...
https://goo.gl/G8VBUa
变这样 <囧>
https://goo.gl/4WgaUI
请问各位大神小弟有漏掉什么地方嘛 Orz
烦请指教,谢谢
作者: alibuda174 (阿哩不达)   2016-01-06 22:48:00
执行 python hello.py 呢
楼主: rer429 (phoenix)   2016-01-06 22:51:00
如楼上所说,前面要加python >< 谢谢!!
作者: uranusjr (←這人是超級笨蛋)   2016-01-06 23:19:00
你安装的时候大概少打一个勾, 没建立 .py 的档案关联性
作者: hibiscus520 (周末也会笑)   2016-01-06 23:29:00
把.py 默认改用python 开起就可以了吧
作者: qas612820704 (Lego)   2016-01-07 10:55:00
或是在sublime开 test.py 然后按Ctrl-B?

Links booklink

Contact Us: admin [ a t ] ucptt.com