Why should i use python if i can use java

D-Man dsh8290 at rit.edu
Wed Jun 6 22:13:27 CEST 2001


On Wed, Jun 06, 2001 at 08:52:34PM +0200, mik wrote:
| i' m a python newbie but I've this prob. i have seen Jython ..
| 
| what has python dat java does not?????????

Modules.  Function objects.  _Completely_ OO (int, boolean, modules,
classes, and functions are all objects, not just class instances).
Easier syntax.  High level of design in the language and runtime
libraries.  No casting when using containers.  Edit-run as opposed to
edit-compile-run cycle.

In short, Python has a _lot_ that Java doesn't have.  Jython is an
implementation of Python written in Java so that it runs in a JVM and
provides nice integration between Python and Java similar to what
CPython does for C and Python.

-D





More information about the Python-list mailing list