On Nov 13, 2007 2:13 PM, Stephen Nelson-Smith <[EMAIL PROTECTED]> wrote:
> ought it to be straightforward to write a client that does this task?
Well:
>>> server = NNTP('news.gmane.org')
>>> resp, count, first, last, name =
server.group("gmane.linux.redhat.enterprise.announce")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/nntplib.py", line 346, in group
resp = self.shortcmd('GROUP ' + name)
File "/usr/lib/python2.5/nntplib.py", line 260, in shortcmd
return self.getresp()
File "/usr/lib/python2.5/nntplib.py", line 215, in getresp
resp = self.getline()
File "/usr/lib/python2.5/nntplib.py", line 207, in getline
if not line: raise EOFError
EOFError
What's wrong with that then?
S.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor