[問題] 初學者想請問路徑的問題
我的作業系統是XP
Python是去抓官方網站的3.1來裝
然後用命令列的方式來執行
閱讀的網站是良葛格的http://caterpillar.onlyfun.net/Gossip/Python/index.html
我在做到http://caterpillar.onlyfun.net/Gossip/Python/ModuleABC.html 網頁時
跟著網站上輸入python hello.py
Python卻回傳
File "<stdin>", line 1
Python hello.py
^
SyntaxError: invalid syntax
後來我搜尋到這個網站http://pydoing.blogspot.com/2010/11/python-pathset.html
並根據網站中給的路徑設定來設定
但是結果還是一樣 請問我該如何解決這個問題呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.170.56
推
01/26 14:08, , 1F
01/26 14:08, 1F
→
01/26 14:38, , 2F
01/26 14:38, 2F
→
01/26 15:15, , 3F
01/26 15:15, 3F
→
01/26 15:16, , 4F
01/26 15:16, 4F
推
01/26 17:18, , 5F
01/26 17:18, 5F
推
01/26 20:09, , 6F
01/26 20:09, 6F
→
01/26 23:21, , 7F
01/26 23:21, 7F
→
01/26 23:22, , 8F
01/26 23:22, 8F
→
01/26 23:24, , 9F
01/26 23:24, 9F
→
01/26 23:24, , 10F
01/26 23:24, 10F
→
01/26 23:25, , 11F
01/26 23:25, 11F
→
01/26 23:26, , 12F
01/26 23:26, 12F
→
01/26 23:27, , 13F
01/26 23:27, 13F
→
01/26 23:27, , 14F
01/26 23:27, 14F
→
01/27 00:16, , 15F
01/27 00:16, 15F
Python 近期熱門文章
PTT數位生活區 即時熱門文章