看板 [ Python ]
討論串[問題] utf8 & cp950
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 7→)留言7則,0人參與, 最新作者sweslo17 (smigo)時間10年前 (2013/09/24 22:04), 編輯資訊
1
0
1
內容預覽:
程式碼:. http://ideone.com/PFYV3X. 使用版本是Python 3.3. 在win7上執行會出現以下錯誤:. Traceback (most recent call last):. File "test.py", line 17, in <module>. print (re
(還有159個字)

推噓5(5推 0噓 0→)留言5則,0人參與, 最新作者uranusjr (←這人是超級笨蛋)時間10年前 (2013/09/24 22:48), 編輯資訊
0
0
4
內容預覽:
我假設你是用了這個 lib http://docs.python-requests.org/en/latest/. Python 本身沒有內建 requests 這個 module. 你應該要在原文內提到它的來源. 你的字元編碼概念需要砍掉重練. response.text 在 Python 3 是
(還有849個字)
首頁
上一頁
1
下一頁
尾頁