httplib module
Boris Ozegovic
ninja.krmenadl at nes.com
Sun Jul 8 03:35:44 EDT 2007
Steve Holden wrote:
>>> Why do I get double new lines when geting data from server? Example:
> How? It's customary to include details when you've solved your own
> problem in case someone else gets the same issue.
Ok. In do_GET I had this two lines:
for line in file:
print line
As you can see, print inserted another \n. :-)
Correct code is:
for line in file:
print line,
--
Ne dajte da nas lažljivac Bandić truje:
http://cnn.blog.hr/arhiva-2007-06.html#1622776372
More information about the Python-list
mailing list