mimetypes.guess_type(url, strict=True) Guess the type of a file based on its filename or URL, given by url. The return
pos The start index of doc where parsing failed.
email.utils.parsedate_tz(date) Performs the same function as parsedate(), but returns either None
class email.mime.multipart.MIMEMultipart(_subtype='mixed', boundary=None, _subparts=None, **_params) Module: email.mime
exception mailbox.NotEmptyError Raised when a mailbox is not empty but is expected to be, such as when deleting a folder that
exception binhex.Error Exception raised when something can’t be encoded using the binhex format (for example, a filename is
items() Return an iterator over (key, message) pairs, where key is a key and message is
binhex.binhex(input, output) Convert a binary file with filename input to binhex file output. The output
exception email.errors.MultipartConversionError Raised when a payload is added to a
__delitem__(key) discard(key) Delete the message corresponding to key from the mailbox.
Page 27 of 44