Integration with java (Jpype vs. JPE)

Steve Menard foo at bar.com
Tue Jan 18 21:39:51 EST 2005


Istvan Albert wrote:
> Steve Menard wrote:
> 
>> To asnwer your question more fully, the jpype-specific cide is only 
>> for looking up the Classes and startting/stopping the environment. For 
>> everything else, Java objects and classes are used as regular Python 
>> objects.
> 
> 
> Thanks for the response. Currently I don't need to use java but
> in the past when I explored such a possibility I looked at jpype
> and I was unable to understand from the documentation what it
> actually does.
> 
> There is a lot of text there, but it is all concerning catching
> errors or other subtleties. For a new visitor the most important
> question is about how it works, what does it do, and how can it be
> applied for the given problem.
> 
>  > everything else, Java objects and classes are used as regular Python
>  > objects.
> 
> This is too generic. My question was a little more specific,
> how would I pass a python list as an argument of a java class/method or
> transform a java list into a python one? You don't have to
> answer it here, I'm just pointing out the kind of
> questions that I was unable to get an answer for on the jpype
> website.
> 
> best,
> 
> Istvan.

I see what you mean. And I agree fully. I guess that's one more thing to 
put on the TODO list hehe.

Thanks for the input.


Steve



More information about the Python-list mailing list