Using Python Modules from JAVA

R

raymi

Hi all,

I'd like to use the pygments syntax highlighting module from within a
JAVA application. While I understand how to use Jython to execute a
script file or interpret single statements, I don't know how I can use
a whole module (i.e. the several files pygments consists of). In order
to deploy the application easily I don't want to install Jython or
anything else on the system and then call pygment's installer from the
shell. I imagine being able to just copy a jar (e.g. jython.jar) and
an egg file to the target system and load the module in JAVA.

Is this possible? Has anybody any experience with that?
Thanks in advance for your help,

raymi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top