By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

nntplib tutorial

P: n/a
hg
Hi,

Is there such a thing ?

Trying to understand the various strings I get hereunder

Thanks,

hg

from nntplib import *
s = NNTP('news.central.cox.net')
resp, count, first, last, name = s.group('comp.lang.python')
print 'Group', name, 'has', count, 'articles, range', first, 'to', last
resp, subs = s.xhdr('subject', first + '-' + last)
for id, sub in subs[-10:]:
print id
for article in s.article(id):
print dir(article)
Oct 11 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
At Wednesday 11/10/2006 14:46, hg wrote:
>Is there such a thing ?

Trying to understand the various strings I get hereunder
A basic understanding of the protocol would help a lot. The RFC 977
itself is not so hard to read, but you could find some tutorials using google.
--
Gabriel Genellina
Softlab SRL

__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas

Oct 11 '06 #2

P: n/a
hg
Gabriel Genellina wrote:
At Wednesday 11/10/2006 14:46, hg wrote:
>Is there such a thing ?

Trying to understand the various strings I get hereunder

A basic understanding of the protocol would help a lot. The RFC 977
itself is not so hard to read, but you could find some tutorials using
google.

will give it a shot, thanks
Oct 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.