> I just had a quick look at the documentation. It looks like you should
> re-read it.http://docs.python.org/py3k/library/nntplib.html#nntplib.NNTP.xhdr
Thank you for the help Thomas. I did reread the doc and I see what you
mean. I think this will work now. Much thanks for the help!
Anthony
--
On 06/08/2010 05:24 PM, Anthony Papillion wrote:
> I'm new to NNTPLib (and Python) and I'm experiencing some behavior I
> can't understand. I'm writing a program to analyze newsgroup subject
> which will then produce statistics on topics discussed. For my
> example, I'm using this group (comp.lang.
Hi Tim,
Tried both and neither works. While I really believe it's simply the
wrong code, I'm wondering if my news server might be throwing
something invalid into the header or not conforming to RFC standards.
Thanks for taking a shot at this anyway though.
Anyone have any other thoughts on why th
On Tue, 2010-06-08 at 08:24 -0700, Anthony Papillion wrote:
> resp, count, first, last, name = server.group('comp.lang.python')
> resp, items = server.xover(first, last)
>
> for subject in items:
> resp, subject = server.xhdr('subject', first, last)
> print subject
>
> Whi