Go Back   CodingForums.com > :: Server side development > Other server side languages/ issues > Python

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-03-2009, 03:37 PM   PM User | #1
ashokd001
New to the CF scene

 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ashokd001 is an unknown quantity at this point
email.MIMEText giving problem with py2exe

Hi ,

i am using
from email.MIMEText import MIMEText

Only script is running fine.
But when i made exe by py2exe it is giving this below error.

Traceback (most recent call last):
File "Mymail.py", line 4, in <module>
File "email\__init__.pyc", line 79, in __getattr__
ImportError: No module named text


How to solve?
ashokd001 is offline   Reply With Quote
Old 05-14-2010, 08:03 AM   PM User | #2
sidzanuff
New to the CF scene

 
Join Date: May 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sidzanuff is an unknown quantity at this point
Hello,

i had similar problem and found out that changing from
from email import MIMEText
to
from email import *
helps
sidzanuff is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:06 PM.


Advertisement
Log in to turn off these ads.