Lines Matching refs:article
44 To post an article from a binary file (this assumes that the article has valid
48 >>> f = open('article.txt', 'rb')
286 and *first* are the last and first article numbers, and *flag* usually
336 number of articles in the group, *first* is the first article number in
337 the group, *last* is the last article number in the group, and *name*
347 articles starting from *first* to the last article in the current group,
348 or :const:`None` to select the current article in the current group.
351 ``(article_number, overview)`` tuples, one for each article selected
360 * the ``:bytes`` metadata: the number of bytes in the entire raw article
362 * the ``:lines`` metadata: the number of lines in the article body
393 (enclosed in ``'<'`` and ``'>'``) or an article number in the current group.
394 If *message_spec* is omitted or :const:`None`, the current article in the
396 where *number* is the article number and *id* is the message id.
414 .. method:: NNTP.article(message_spec=None, *, file=None)
419 *message_id* and *lines* (in that order). *number* is the article number
424 >>> resp, info = s.article('<20030112190404.GE29873@epoch.metaslash.com>')
441 Same as :meth:`article()`, but sends a ``HEAD`` command. The *lines*
448 Same as :meth:`article()`, but sends a ``BODY`` command. The *lines*
455 Post an article using the ``POST`` command. The *data* argument is either
457 objects (representing raw lines of the article to be posted). It should
458 represent a well-formed news article, including the required headers. The
502 where *first* and *last* are the first and last article numbers to search.
504 text)``, where *id* is an article number (as a string) and *text* is the text of
505 the requested header for that article. If the *file* parameter is supplied, then
515 Send an ``XOVER`` command. *start* and *end* are article numbers
525 article with message ID *id*. Most of the time, this extension is not