GNU Info

Info Node: (python2.1-lib.info)MimeWriter

(python2.1-lib.info)MimeWriter


Next: multifile Prev: mimetools Up: Internet Data Handling
Enter node , (file) or (file)node

Generic MIME file writer
========================

Generic MIME file writer.

This manual section was written by Christopher G. Petrilli
<petrilli@amber.org>.
This module defines the class `MimeWriter'.  The `MimeWriter' class
implements a basic formatter for creating MIME multi-part files.  It
doesn't seek around the output file nor does it use large amounts of
buffer space. You must write the parts out in the order that they
should occur in the final file. `MimeWriter' does buffer the headers
you add, allowing you to rearrange their order.

`MimeWriter(fp)'
     Return a new instance of the `MimeWriter' class.  The only
     argument passed, FP, is a file object to be used for writing. Note
     that a `StringIO' object could also be used.

MimeWriter Objects

automatically generated by info2www version 1.2.2.9