Name
NNTP
Synopsis
class NNTP(host
,port
=119,user
=None,passwd
=None,readermode
=False)
Returns an instance n
of class
NNTP
connected to the given
host
and port
,
and optionally authenticated with the given
user
and passwd
if user
is not None
.
When readermode
is
True
, also sends a 'mode
reader
' command; you may need this, depending on
what NNTP server you connect to and on what NNTP commands you send to
that server.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.