作者rer429 (phoenix)
看板Python
标题[问题] Python安装
时间Wed Jan 6 22:41:50 2016
小弟最近在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
烦请指教,谢谢
--
【◆ ▆ ◢◣` /▲ `"" \/// `"◢ ◣鹅
"`◢◣ ◢▌◥▃▄▅ ▁▁▂▂▂▂这块地不需要浇水啦!▼ ◤/ ? ▍
▄▆ █o ▊▄ ██◤ ◢_╱_╱_╱_╱﹎╱ ◤◣ ◤◤◤◤◥\ ▍
`" ▆▄█◤ ◢ ̄╱_╱﹊╱_◢█◤ ◤ ◤ ◤ ]
▎
= = = = ◢ ̄╱﹊╱ ̄╱﹊╱ ̄╱ ◤ ▃▅▄ ▃▂ ▅? ▅
′ ▄★ ‵= `" ▇▇▆▆▆▆▆▆▆▆▇▇ =) ◣ ◣△ ▉
◤\//
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 118.161.239.231
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1452091320.A.AA5.html
1F:→ alibuda174: 执行 python hello.py 呢 01/06 22:48
2F:→ rer429: 如楼上所说,前面要加python >< 谢谢!! 01/06 22:51
已解决,但想请问为何有些电脑不用前面加python? 我看coursera老师的win8就不用 QQ
※ 编辑: rer429 (118.161.239.231), 01/06/2016 22:52:54
3F:→ uranusjr: 你安装的时候大概少打一个勾, 没建立 .py 的档案关联性 01/06 23:19
4F:→ hibiscus520: 把.py 预设改用python 开起就可以了吧 01/06 23:29
谢谢两位大大!!!!! 感激不尽
※ 编辑: rer429 (118.161.239.231), 01/07/2016 02:25:16
5F:推 qas612820704: 或是在sublime开 test.py 然後按Ctrl-B? 01/07 10:55