Python mimetools Functions
EditRocket provides the following information on mimetools functions in the Python source code builder.
choose_boundary() - Return a unique string that has a high likelihood of being usable as a part boundary.
copybinary(input, output) - Read blocks until EOF from open file input and write them to open file output.
copyliteral(input, output) - Read lines from open file input until EOF and write them to open file output.
decode(input, output, encoding) - Read data encoded using the allowed MIME encoding from open file object input and write the decoded data to open file object output.
encode(input, output, encoding) - Read data from open file object input and write it encoded using the allowed MIME encoding to open file object output.