ANN: Jython-2.0 released
Finn Bock
bckfnn at worldonline.dk
Thu Jan 18 15:20:43 EST 2001
I am happy to announce the release of Jython 2.0.
Jython is a Java implementation of the Python programming
language. It allows users to compile Python source code to
Java byte codes, and run the resulting bytecodes on any Java
Virtual Machine. It is a very seamless and smooth
integration with Java: from Python you have complete access
to all Java libraries, can build applets, can integrate with
Java beans, and can subclass Java classes in Python and vice
versa. Like Python, and unlike Java, Jython can also be
used interactively: just type some Jython code at the
prompt and see the results immediately.
A java installer is available for download at the Jython website:
http://www.jython.org/
Installation is started by running the installer class. Further
information and tips on installation is available at:
http://www.jython.org/install.html
Jython 2.0 is feature compatible with Python 2.0 and among the
new feature are:
- Augmented assignment, e.g. x += 1
- List comprehensions, e.g. [x**2 for x in range(10)]
- Extended import statement, e.g. import Module as Name
- Extended print statement, e.g. print >> file, "Hello"
A complete list of changes and differences are available here:
http://www.jython.org/NEWS.html
Bugs can be reported to the bug manager on SourceForge:
http://sourceforge.net/bugs/?group_id=12867
Cheers,
the jython-developers
More information about the Python-list
mailing list