Python works fine in the console, but I'm having problems using python in a Java program. In case someone here has any ideas, I'm posting a link back to my original post (please reply there and not here):

http://www.daniweb.com/forums/post1246152.html#post1246152

Thanks!

Re: Using python in a Java program 80 80

You can use Jython...http://www.jython.org/faq2.html

Re: Using python in a Java program 80 80

Have looked at the FAQ and some other resources on that website, but have some questions:

- Can this be used within an existing Java application?
- Do users of the Java application need to install anything extra if I am using Jython?

I'm attempting to interact with a web-based, Python-based XML-RPC API. I was planning to use my Java application to send commands to the console (where I've successfully connected to the API) and to show the feedback/output in a text area within the java application.

So the question is: Will Jython suit my needs for this?

Thanks,
leiger

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.