mimetypes.MimeTypes.guess_all_extensions()
  • References/Python/Python/Internet Data

MimeTypes.guess_all_extensions(type, strict=True) Similar to the guess_all_extensions() function, using the tables

2025-01-10 15:47:30
email.header.Header
  • References/Python/Python/Internet Data

class email.header.Header(s=None, charset=None, maxlinelen=None, header_name=None, continuation_ws=' ', errors='strict') Create

2025-01-10 15:47:30
mimetypes.types_map
  • References/Python/Python/Internet Data

mimetypes.types_map Dictionary mapping filename extensions to MIME types.

2025-01-10 15:47:30
email.headerregistry.BaseHeader.name
  • References/Python/Python/Internet Data

name The name of the header (the portion of the field before the ‘:’). This is exactly the value passed in the

2025-01-10 15:47:30
mimetypes.MimeTypes.read()
  • References/Python/Python/Internet Data

MimeTypes.read(filename, strict=True) Load MIME information from a file named filename. This uses readfp()

2025-01-10 15:47:30
mailbox.MH.get_sequences()
  • References/Python/Python/Internet Data

get_sequences() Return a dictionary of sequence names mapped to key lists. If there are no sequences, the empty dictionary is

2025-01-10 15:47:30
mailbox.Mailbox.
  • References/Python/Python/Internet Data

__setitem__(key, message) Replace the message corresponding to key with message. Raise a

2025-01-10 15:47:30
email.iterators.body_line_iterator()
  • References/Python/Python/Internet Data

email.iterators.body_line_iterator(msg, decode=False) This iterates over all the payloads in all the subparts of msg

2025-01-10 15:47:30
email.parser.Parser.parsestr()
  • References/Python/Python/Internet Data

parsestr(text, headersonly=False) Similar to the parse() method, except it takes a string object instead of a file-like

2025-01-10 15:47:30
email.headerregistry.SingleAddressHeader
  • References/Python/Python/Internet Data

class email.headerregistry.SingleAddressHeader A subclass of AddressHeader that adds one additional attribute:

2025-01-10 15:47:30