nntplib question

Jp Calderone exarkun at intarweb.us
Sun Feb 23 15:47:19 EST 2003


On Sun, Feb 23, 2003 at 07:50:34PM +0000, L. B. wrote:
> Hi all,
> 
> i'm building a trivial cgi-newsreader... at this stage i'm just
> hacking around the nntplib module trying to understand how it works.
> 
> I didn't understand how to retrieve the message body because there is
> not a "body" header in usenet messages
> 
> Till now i've just produced the code you'll find at the link below...
> could you please help me understand how to extract the body having the
> article number and or message-id?
> 

  The NNTP class has a body() method.  This is probably what you want.

  Jp

> http://www.bolognini.net/python.html
> 
> 
> Thank You,
> Lorenzo
> 
> 
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list

-- 
There are 10 kinds of people: those who understand binary and those who do
not.
-- 
 up 15 days, 0:29, 8 users, load average: 0.00, 0.02, 0.05
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030223/9b25699b/attachment.sig>


More information about the Python-list mailing list