Re: Python and Java

2007-04-06 Thread Steve Holden
Ed Jensen wrote: > Steve Holden <[EMAIL PROTECTED]> wrote: >> Ed Jensen wrote: >>> Steve Holden <[EMAIL PROTECTED]> wrote: Jython is an implementation of Python that compiles to Java bytecode, but at the moment there's some version lag so it won't handle the mos recent language enh

Re: Python and Java

2007-04-06 Thread Ed Jensen
Steve Holden <[EMAIL PROTECTED]> wrote: > Ed Jensen wrote: >> Steve Holden <[EMAIL PROTECTED]> wrote: >>> Jython is an implementation of Python that compiles to Java bytecode, >>> but at the moment there's some version lag so it won't handle the mos >>> recent language enhancements. Probably wort

Re: Python and Java

2007-04-05 Thread Steve Holden
Ed Jensen wrote: > Steve Holden <[EMAIL PROTECTED]> wrote: >> Jython is an implementation of Python that compiles to Java bytecode, >> but at the moment there's some version lag so it won't handle the mos >> recent language enhancements. Probably worth a look, though. >> >>http://www.jython.o

Re: Python and Java

2007-04-05 Thread Ed Jensen
Steve Holden <[EMAIL PROTECTED]> wrote: > Jython is an implementation of Python that compiles to Java bytecode, > but at the moment there's some version lag so it won't handle the mos > recent language enhancements. Probably worth a look, though. > >http://www.jython.org/ Does Jython compil

Re: Python and Java

2007-04-05 Thread Goldfish
On Apr 5, 7:18 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Sreelatha G wrote: > > Hi > > >I am new to python .I need your help in solving my problem. > >Is there any way to call python files in a java file .How is it possible? > Your other option is to utilize a system exec call, and try

Re: Python and Java

2007-04-05 Thread Steve Holden
Sreelatha G wrote: > Hi > >I am new to python .I need your help in solving my problem. >Is there any way to call python files in a java file .How is it possible? > Jython is an implementation of Python that compiles to Java bytecode, but at the moment there's some version lag so it won't

Re: Python and Java

2006-03-07 Thread Harry George
"JKPeck" <[EMAIL PROTECTED]> writes: > Suppose you have an application written in Java, and you want to enable > other applications or processes written in Python to communicate with > it, i.e., to use Python as a scripting language for the application. > On Windows you could do this with COM and

Re: Python and Java

2006-03-07 Thread Diez B. Roggisch
JKPeck wrote: > Suppose you have an application written in Java, and you want to enable > other applications or processes written in Python to communicate with > it, i.e., to use Python as a scripting language for the application. > On Windows you could do this with COM and various addons such as

Re: Python and Java

2006-03-07 Thread JKPeck
Thanks for these suggestions. To be clear, we already have a Python 2.4 minimum requirement for other reasons, and we are looking for a long-term solution so that as Python advances, the scripting solution can keep up in a timely way. Since the Java code is for a very large, complex application,

Re: Python and Java

2006-03-06 Thread Ravi Teja
For most purposes Jython 2.1 is just fine. The lack of recent features is not a show stopper. What do you need metaclasses? decorators? BTW, there is Jython 2.2 as an alpha release. There are a number of ways you can use Java code through Python. Use JPype to start a Java VM http://jpype.sourcefo

Re: Python and Java

2006-03-06 Thread Kent Johnson
JKPeck wrote: > Suppose you have an application written in Java, and you want to enable > other applications or processes written in Python to communicate with > it, i.e., to use Python as a scripting language for the application. > On Windows you could do this with COM and various addons such as >

Re: Python and Java

2006-03-06 Thread Paul Rubin
"JKPeck" <[EMAIL PROTECTED]> writes: > Suppose you have an application written in Java, and you want to enable > other applications or processes written in Python to communicate with > it, i.e., to use Python as a scripting language for the application. > On Windows you could do this with COM and v