Import Python class from Java

Julian Kennedy <[email protected]>
Newsgroups gmane.comp.lang.jython.user
Message-ID <CABj8Z1oNP19YdY=V3qMdCuR7kSc3C8jZ9eLajT=9rF6_2k84uw@mail.gmail.com>
Hi Guys

I somehow remember seeing a recent video showing directly importing a
python class from java. Something along the lines of:

import some.python.module.MyClass

class A {
    // Some java code

    MyClass a = new MyClass();

    // More java code
}

Is this correct? Or did I see wrong?

Regards

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140

_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.