[Zope] importing encode_base64

Varun Parange varunsemail at yahoo.com
Thu Jun 2 13:34:20 EDT 2005


hi,
 
i am having problems importing encode_base64
 
i have created a product in which i have specified:
'''
from AccessControl import allow_module, allow_class, allow_type
from AccessControl import ModuleSecurityInfo, ClassSecurityInfo
from email.Encoders import encode_base64

allow_class(encode_base64)
 
''
 
however when i try using it:
 
from Products.EmailTools import MIMEText,MIMEBase,MIMEMultipart,Header,encode_base64

i get an error saying:

Error Type: ImportError
Error Value: cannot import name encode_base64

All other modules are imported except this one...

how do i import it?

 

regards,

varun






		
---------------------------------
Discover Yahoo!
 Have fun online with music videos, cool games, IM & more. Check it out!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050602/89325ec7/attachment.htm


More information about the Zope mailing list