nntplib tutorial

H

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)
 
G

Gabriel Genellina

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
 
H

hg

Gabriel said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top