March 2003
Intermediate to advanced
656 pages
39h 30m
English
post
n.post(file)Posts an article to the current group, reading it from
file. file is a
file-like object open for reading; post reads the
article’s headers and body from the file by
repeatedly calling
file
.readline. Note
that file must contain all needed headers,
then an empty-line separator, then the body. post
returns a string, the response from the
server to the posting request.