mimetools

Various tools used by MIME-reading or MIME-writing programs.

Functions

choose_boundary() Return a string usable as a multipart boundary.
copybinary(input, output)
copyliteral(input, output)
decode(input, output, encoding) Decode common content-transfer-encodings (base64, quopri, uuencode).
encode(input, output, encoding) Encode common content-transfer-encodings (base64, quopri, uuencode).
filterwarnings(action[, message, category, ...]) Insert an entry into the list of warnings filters (at the front).
pipethrough(input, command, output)
pipeto(input, command)
warnpy3k(message[, category, stacklevel]) Issue a deprecation warning for Python 3.x related changes.

Classes

Message(fp[, seekable]) A derived class of rfc822.Message that knows about MIME headers and contains some hooks for decoding encoded and multipart messages.
catch_warnings([record, module]) A context manager that copies and restores the warnings filter upon exiting the context.