nntplib downloads content with extra linebreaks

rweth rweth at cisco.com
Sat Jan 6 15:38:05 EST 2007


Klaus Alexander Seistrup wrote:
> 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,
> 
so afile contains a filename.
One single aline looks like so:
   '</rme:SoftwareIdentity>'





More information about the Python-list mailing list