Hi all,


I am calling a python script from the java file.With Java 1.5 it is working fine.But for Java 1.4,it is not working properly.
The thing is my .py script is importing difflib (Jython 2.3).The error is coming in that difflib only.

The details of error are shown below:

J1 is .java file which is calling Ex1.py which in turns import difflib.py.

C:\temp>java J1

Exception in thread "main" Traceback (innermost last):
  File "Ex1.py", line 3, in ?
  File "C:\jython\Lib\difflib.py", line 626
                        yield group
                              ^
SyntaxError: invalid syntax

Please help me.Thanks in advance.
Also I have subscribed for the mailing list,yet have not received any conformation.

Regards,
Prashant golash.