Error reading from 'urllib.request' and iterating over lines

Juan Christian juan0christian at gmail.com
Sat Aug 30 16:16:52 EDT 2014


My code: http://pastebin.com/CBgVvT4n

Line 25 returns the text correctly [1], but it seems not being parsed to
line 27-28 correctly. This is just a training program that I'm doing
following some books/tutorials/docs, nothing special.

[1] Output from line 25: http://pastebin.com/HSbAtDHQ

Python 3.4.1
PySide 1.2.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20140830/a9968a3a/attachment.html>


More information about the Python-list mailing list