Re: (semi-troll): Is Jython development dead?

2006-10-10 Thread Steve Menard
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

Metaprogramming question

2006-10-05 Thread Steve Menard
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

PEP proposal : Getting rid of the extension version/compiler dependency

2006-09-29 Thread Steve Menard
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

Re: JEP and JPype in a single process

2005-06-22 Thread Steve Menard
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

Re: JEP and JPype in a single process

2005-06-20 Thread Steve Menard
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

Re: Communication between JAVA and python

2005-02-23 Thread Steve Menard
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

Re: JPype and classpath (Was Re: embedding jython in CPython... )

2005-01-23 Thread Steve Menard
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

Re: Help on project, anyone?

2005-01-23 Thread Steve Menard
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

Re: embedding jython in CPython...

2005-01-22 Thread Steve Menard
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

JPype and classpath (Was Re: embedding jython in CPython... )

2005-01-22 Thread Steve Menard
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)) #

Re: embedding jython in CPython...

2005-01-22 Thread Steve Menard
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

Re: Integration with java (Jpype vs. JPE)

2005-01-18 Thread Steve Menard
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

Re: Integration with java (Jpype vs. JPE)

2005-01-17 Thread Steve Menard
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

Re: Integration with java (Jpype vs. JPE)

2005-01-16 Thread Steve Menard
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

Mixing metaclasses and exceptions

2004-12-27 Thread Steve Menard
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