RE: Python Modules

"Loomis, Mascha" <[email protected]> Mon, 7 Apr 2003 15:29:22 -0400
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <894F36FA89ECD411A0CB0002A52CAFB2122CE32D@kdcnt4mbx02.kdc.capitalone.com>
It looks like you're trying to have the Jython scripts generate email.  Why
not use the Java Mail API?

According to the documentation the Python parser is C-based.  It's doubtful
that you will be able to use a standard Python module, because Jython and
JPython are Java-based.  The Bean Scripting Framework supports Python via
these two ports.  

--mascha

--__--__--

Message: 1
Date: Thu, 03 Apr 2003 22:09:51 -0800
From: Darrin Eden <[email protected]>
To: [email protected]
Subject: [JPublish-developer] Python Modules

Hello JPublish Developers,

I'm getting this exception:

javax.servlet.ServletException: exception from JPython: Traceback 
(innermost last):
   File " ", line 1, in ?
ImportError: no module named smtplib

         at 
org.jpublish.servlet.JPublishServlet.doPost(JPublishServlet.java:418)

I was wondering how I install python modules?

Thanks,

-Darrin




--__--__--

_______________________________________________
Jpublish-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jpublish-developer


End of Jpublish-developer Digest
 
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/