[python] Figured out how to go from email.Message.Message to string
winexpert at hotmail.com
Thu Jun 17 12:38:22 CEST 2004
It took a little bit of digging but I finally figured it out by looking in
my /usr/local/lib/py* directory's python modules.
Turns out in the Message.py module there is a __str__ method you can call to
convert to a string. And when i read more I found out its doing a fancy
flatten. I've seen references to flatten around so this will help reinforce
in my mind what it means for a flat tened or flat python object.
Looking to buy a house? Get informed with the Home Buying Guide from MSN
House & Home. http://coldwellbanker.msn.com/
More information about the Python-list