Problem running NNTP example from docs.

Arcady Genkin a.genkin at utoronto.ca
Sat Apr 29 16:17:40 EDT 2000


I'm very new to Python, and was trying to run the example from
documentation to nntplib library. I get an error when I try to
instantiate NNTP object.

,----
| >>> import nntplib
| >>> s = NNTP('news')
| Traceback (innermost last):
|   File "<stdin>", line 1, in ?
| NameError: NNTP
`----

Could somebody point out what I am missing?

Thanks!
-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.



More information about the Python-list mailing list