email.message.Message.
  • References/Python/Python/Internet Data

__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted

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

mimetypes.add_type(type, ext, strict=True) Add a mapping from the MIME type type to the extension ext. When

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

add(message) __setitem__(key, message) update(arg)

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

MimeTypes.types_map_inv Tuple containing two dictionaries, mapping MIME types to a list of filename extensions: the first dictionary

2025-01-10 15:47:30
binascii.b2a_hex()
  • References/Python/Python/Internet Data

binascii.b2a_hex(data) binascii.hexlify(data) Return the hexadecimal representation of the binary data

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

__contains__(key) Return True if key corresponds to a message, False otherwise.

2025-01-10 15:47:30
mailcap.getcaps()
  • References/Python/Python/Internet Data

mailcap.getcaps() Returns a dictionary mapping MIME types to a list of mailcap file entries. This dictionary must be passed

2025-01-10 15:47:30
json.JSONDecoder
  • References/Python/Python/Internet Data

class json.JSONDecoder(object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None) Simple

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

lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()

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

unlock() Maildir mailboxes do not support (or require) locking, so these methods do nothing.

2025-01-10 15:47:30