lso
hired to look at tools to help with programming with dynamic languages. In
this regard, they can help not only Jython, but Python itself!
All in all a very good thing to see a high-profile company invest in dynamic
languages.
Steve Menard
--
http://mail.python.org/mailman/listinfo/python-list
ype" ...
So my question is, how to replicate new.instance() functionality with new
classes?
Steve Menard
Author and Maintainer of http://jpype.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
ents here, or better yet on my blog at
http://jpype.blogspot.com .
Steve Menard
Author and Maintainer of JPype ( http://jpype.sourceforge.net )
--
http://mail.python.org/mailman/listinfo/python-list
Steve Menard wrote:
> skn wrote:
>
>> Hello,
>>
>> I have written a very simple java class file, which invokes a Python
>> script
>> using JEP.
>>
>> Code snippet:-
>> ---
>> Jep jep = new Jep(false);
>> jep.runS
attach to the
currently running JVM instead of starting a new one. IF it does not
require major changes I will release it as 0.5.1. If you'd like you can
submit an enhancement request on the JPype sourceforge page, so this
doesn't get lost.
--
Steve Menard
Maintainer of http://jpype.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
ou can find a python technology to access
it. If its not standard, but tehre is a Java way to use it, Again jpype
can be your friend.
If you can tell us more about the nature of each program (Python and
Java) we may be better able to help you.
--
Steve Menard
Maint
4 currently cannot import classes that are
in the "default" package. The fix is easy, simply put your "test" class
in a package. For exmaple, if you put the class in the package "test",
the code to load it would be :
test = jpype.JPackage("test&qu
uld do? I would go on Sourceforge. Try to find a
project that seems interestingto you. and then contact the Maintainer
see if you can help.
Many project also advertise the kind of help they need.
--
Steve Menard
Maintainer of http://jpype.sourceforge.net
--
http://mail.pyt
em to CPython+Jpype.
Let me know if you need any help.
--
Steve Menard
Maintainer of http://jpype.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
os.path, jpype
root = os.path.abspath(os.path.dirname(__file__))
jpype.startJVM(jpype.getDefaultJVMPath(),
"-Djava.class.path=%s%sclasses" % (root, os.sep),
"-Djava.ext.dirs=%s%slib" % (root, os.sep))
#
ituation a bit more, we'll be better able
to help you.
Steve Menard
Maintainer of http://jpype.sourceforge.net
--
http://mail.python.org/mailman/listinfo/python-list
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
Istvan Albert wrote:
Cameron Laird wrote:
Someone really ought to include a couple of sentences to that effect
on the front page of http://jpype.sf.net/ >.
Now I remember visiting this site, but never understood how it
actually worked. Examples such as:
from jpype import *
startJVM("d:/tools/j2sdk
Cameron Laird wrote:
In article <[EMAIL PROTECTED]>,
Jon Perez <[EMAIL PROTECTED]> wrote:
Can someone summarize in a nutshell what is the
difference between JPype and JPE?
JPE's the original. It provided more functionality than JPype has
achieved so far, I believe (though that could change any d
In writing the next version of Jpype (Python to Java bridge), I have hot
a rather unpleasant wall ... Hopefully it is I who is doing something
wrong and i can be fixed ...
Since I am bridging Java classes and presenting them as Python classes,
I decided to try to create a corresponding python c
15 matches
Mail list logo