Hi Marcus,
Marcus.CM wrote:
There is a bug with py2exe when (at least under windows) when importing
email
# example testmime.py
import email
msg = email.MIMEText.MIMEText("dsafdafdasfA")
print "ok"
1. Save the text above and setup as testmime.py
2. Run it and u can see "ok"
3. Create setup.py
Hi,
After some debugging, i found the solution is to :-
import email
import email.mime.text
import email.iterators
import email.generator
import email.utils
Marcus.
Marcus.CM wrote:
There is a bug with py2exe when (at least under windows) when
importing email
# example testmime.py
import e
There is a bug with py2exe when (at least under windows) when importing
email
# example testmime.py
import email
msg = email.MIMEText.MIMEText("dsafdafdasfA")
print "ok"
1. Save the text above and setup as testmime.py
2. Run it and u can see "ok"
3. Create setup.py and run : python setup.py py