How to read() twice from file-like objects (and get some data)?
askar.bektassov at gmail.com
askar.bektassov at gmail.com
Wed Sep 27 15:20:54 EDT 2006
Hello all, please correct me, if I do...
from ClientForm import ParseResponse
from urllib2 import urlopen
...
response=urlopen(url)
forms=ParseResponse(response)
I won't be able to
print response.read()
in order to see HTML source anymore. In other words I will see only an
empty string. Suggestions?
More information about the Python-list
mailing list