Python nntplib Module
Example
Verify the NNTP client class is available:
import nntplib
print(hasattr(nntplib, "NNTP"))
Try it Yourself »
Definition and Usage
The nntplib module implements the client side of the Network News Transfer Protocol.
Use it to connect to NNTP servers and retrieve or post messages on Usenet.
Members
Member | Description |
---|---|
NNTP | Client class for communicating with an NNTP server. |
NNTPError | Base class for NNTP-related exceptions. |