Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77330 > unrolled thread

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

Started byJuan Christian <juan0christian@gmail.com>
First post2014-08-30 17:16 -0300
Last post2014-08-30 17:16 -0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Error reading from 'urllib.request' and iterating over lines Juan Christian <juan0christian@gmail.com> - 2014-08-30 17:16 -0300

#77330 — Error reading from 'urllib.request' and iterating over lines

FromJuan Christian <juan0christian@gmail.com>
Date2014-08-30 17:16 -0300
SubjectError reading from 'urllib.request' and iterating over lines
Message-ID<mailman.13651.1409429840.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web