| |
Methods defined here:
- __init__(self, host, port=119, user=None, password=None)
- artcmd(self, line)
- # Internal: process a HEAD, BODY or ARTICLE command
- article(self, id)
- body(self, id)
- date(self)
- debug = set_debuglevel(self, level)
- getline(self)
- # Internal: return one line from the server, stripping CRLF.
# Raise EOFError if the connection is closed
- getlongresp(self)
- # Internal: get a response plus following text from the server.
# Raise various errors if the response indicates an error
- getresp(self)
- # Internal: get a response from the server.
# Raise various errors if the response indicates an error
- getwelcome(self)
- group(self, name)
- head(self, id)
- help(self)
- ihave(self, id, f)
- last(self)
- list(self)
- longcmd(self, line)
- # Internal: send a command and get the response plus following text
- newgroups(self, date, time)
- newnews(self, group, date, time)
- next(self)
- post(self, f)
- putcmd(self, line)
- # Internal: send one command to the server (through putline())
- putline(self, line)
- # Internal: send one line to the server, appending CRLF
- quit(self)
- set_debuglevel(self, level)
- shortcmd(self, line)
- # Internal: send a command and get the response
- slave(self)
- stat(self, id)
- statcmd(self, line)
- # Internal: process a STAT, NEXT or LAST command
- statparse(self, resp)
- # Internal: parse the response of a STAT, NEXT or LAST command
- xgtitle(self, group)
- xhdr(self, hdr, str)
- xover(self, start, end)
- xpath(self, id)
Data and non-method functions defined here:
- __doc__ = None
- __module__ = 'nntplib'
|