longer needed for printed output.
statistics about a newsgroup and print the subjects of the last 10
articles:
-\small{
\bcode\begin{verbatim}
>>> s = NNTP('news.cwi.nl')
>>> resp, count, first, last, name = s.group('comp.lang.python')
'205 news.cwi.nl closing connection. Goodbye.'
>>>
\end{verbatim}\ecode
-}
To post an article from a file (this assumes that the article has
valid headers):
statistics about a newsgroup and print the subjects of the last 10
articles:
-\small{
\bcode\begin{verbatim}
>>> s = NNTP('news.cwi.nl')
>>> resp, count, first, last, name = s.group('comp.lang.python')
'205 news.cwi.nl closing connection. Goodbye.'
>>>
\end{verbatim}\ecode
-}
To post an article from a file (this assumes that the article has
valid headers):