推 IAMPF:還是說他是big5編碼? 07/29 22:12
→ bohan222:如果是big5要怎麼改 07/29 22:28
→ uranusjr:content = web.decode(編碼名稱).read() 07/29 22:45
→ bohan222:樓上方法~會出現AttributeError: addinfourl instance ha 07/29 23:15
→ bohan222:s no attribute 'decode' 這是不是我有忽略或漏甚麼~ 07/29 23:17
推 timTan:應該是 content.decode ~ 07/29 23:17
→ uranusjr:寫反了, 是要先 read... 07/29 23:23