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')
309 and *first* are the last and first article numbers, and *flag* usually
359 number of articles in the group, *first* is the first article number in
360 the group, *last* is the last article number in the group, and *name*
370 articles starting from *first* to the last article in the current group,
371 or :const:`None` to select the current article in the current group.
374 ``(article_number, overview)`` tuples, one for each article selected
383 * the ``:bytes`` metadata: the number of bytes in the entire raw article
385 * the ``:lines`` metadata: the number of lines in the article body
416 (enclosed in ``'<'`` and ``'>'``) or an article number in the current group.
417 If *message_spec* is omitted or :const:`None`, the current article in the
419 where *number* is the article number and *id* is the message id.
437 .. method:: NNTP.article(message_spec=None, *, file=None)
442 *message_id* and *lines* (in that order). *number* is the article number
447 >>> resp, info = s.article('<20030112190404.GE29873@epoch.metaslash.com>')
464 Same as :meth:`article()`, but sends a ``HEAD`` command. The *lines*
471 Same as :meth:`article()`, but sends a ``BODY`` command. The *lines*
478 Post an article using the ``POST`` command. The *data* argument is either
480 objects (representing raw lines of the article to be posted). It should
481 represent a well-formed news article, including the required headers. The
525 where *first* and *last* are the first and last article numbers to search.
527 text)``, where *id* is an article number (as a string) and *text* is the text of
528 the requested header for that article. If the *file* parameter is supplied, then
538 Send an ``XOVER`` command. *start* and *end* are article numbers