nntplib downloads content with extra linebreaks

Klaus Alexander Seistrup klaus at seistrup.dk
Sat Jan 6 14:51:06 EST 2007


Rweth wrote:

>    for aline in buf:
>       bufHeal.append(aline.replace('\r\n', '\n'))

What does one single aline look like?

> s.body(id,afile)

Does the 'afile' contain a filename or a filepointer?

Cheers,

-- 
Klaus Alexander Seistrup
http://klaus.seistrup.dk/




More information about the Python-list mailing list