Lines Matching full:part
25 is not part of either the field name or the field value. The payload may be a
329 part of the string returned by :meth:`get_content_type`.
335 part of the string returned by :meth:`get_content_type`.
482 Here's an example that prints the MIME type of every part of a multipart
493 >>> for part in msg.walk():
494 ... print(part.get_content_type())
503 ``walk`` iterates over the subparts of any part where
512 >>> for part in msg.walk():
513 ... print(part.get_content_maintype() == 'multipart',
514 ... part.is_multipart())
538 Return the MIME part that is the best candidate to be the "body" of the
543 content type of the part returned.
549 part (or subpart of the root part) of any related encountered as a
550 candidate if the (sub-)part matches a preference.
553 and if a part with a matching :mailheader:`Content-ID` is found, consider
555 first (default root) part of the ``multipart/related``.
557 If a part has a :mailheader:`Content-Disposition` header, only consider
558 the part a candidate match if the value of the header is ``inline``.
584 except the root part (ie: the part pointed to by the ``start`` parameter,
585 or the first part if there is no ``start`` parameter or the ``start``
620 (new) first part of the ``multipart``. If *boundary* is specified, use
630 headers and payload into a (new) first part of the ``multipart``. If
640 :mailheader:`Content-` headers and payload into a (new) first part of the
655 If the added part has no :mailheader:`Content-Disposition` header,
679 specified by the current :mod:`~email.policy`. If the added part