Results 1 to 2 of 2
  1. #1
    cotarelo is offline Member
    Join Date
    Mar 2010
    Posts
    43
    Rep Power
    0

    Default Jython : python for java

    Hi all,

    I wrote a script on python, that I would like to integrate with my java application.
    I have read about the integration of python and java called jython, so I installed the last version, imported the python networkx module i needed and now I am able to run my python script with jython via the comand line.

    But what I would like it is to retrieve values from variables inside my python scripts to use them in my java swing interface. I will use this variables to build a real time graph of the variables with the java plot.

    Now, how this integration works? how I can call this variable values from my jython script and use them in java? I dont find the answer on the net.

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

Similar Threads

  1. Replies: 9
    Last Post: 01-23-2014, 08:17 PM
  2. Using JET to create external Python/Jython files??
    By mjwoodford in forum New To Java
    Replies: 0
    Last Post: 09-17-2009, 06:33 PM
  3. Java and Jython Wargaming Devs
    By ALATECjobs in forum Jobs Offered
    Replies: 0
    Last Post: 09-02-2009, 06:57 PM
  4. Call java Methods from Python Script
    By hofsoc in forum New To Java
    Replies: 1
    Last Post: 02-18-2009, 05:47 PM
  5. Calling Java methods form Python
    By mew in forum Advanced Java
    Replies: 1
    Last Post: 12-21-2007, 03:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •