Using Python Modules from JAVA

Discussion in 'Python' started by raymi, Jul 28, 2008.

  1. raymi

    raymi Guest

    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
     
    raymi, Jul 28, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Remy Cool
    Replies:
    1
    Views:
    445
    Remy Cool
    Aug 27, 2003
  2. Tobiah
    Replies:
    2
    Views:
    323
    Tobiah
    Sep 14, 2003
  3. Ben Weintraub

    Disabling modules using Modules/Setup

    Ben Weintraub, Sep 9, 2006, in forum: Python
    Replies:
    0
    Views:
    361
    Ben Weintraub
    Sep 9, 2006
  4. Peter Peyman Puk

    Importing v reloading modules modules

    Peter Peyman Puk, Mar 19, 2010, in forum: Python
    Replies:
    0
    Views:
    314
    Peter Peyman Puk
    Mar 19, 2010
  5. ImpalerCore
    Replies:
    0
    Views:
    880
    ImpalerCore
    Mar 10, 2011
Loading...

Share This Page