(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/mimetools-message-objects.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/netdata.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/MimeWriter-objects.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 12.3.1 Additional Methods of Up: 12. Internet Data Handling Next: 12.4.1 MimeWriter Objects
12.4 MimeWriter -- Generic MIME file writer
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.
Subsections
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/mimetools-message-objects.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/netdata.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/MimeWriter-objects.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/genindex.html| ]]
|
Previous: 12.3.1 Additional Methods of Up: 12. Internet Data Handling Next: 12.4.1 MimeWriter Objects
See About this document... for information on suggesting changes.