Pograph's Weblog

July 2, 2009

python2.6, email and py2exe

Filed under: Web Programming — pograph @ 7:28 pm

To make email module work with py2exe:

1. Use new lower case module names, not old ones. For example, email.mime.image.MIMEImage, instead of email.MIMEImage.MIMEImage.

2. import email.iterators, email.generator, and other staff that your exe complained missing.

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.