how is python not the same as java?

Jorge Vargas jorge.vargas at
Fri Nov 10 15:49:56 CET 2006

On 9 Nov 2006 18:09:37 -0800, John Machin <sjmachin at> wrote:
> Jorge Vargas wrote:
> > On 9 Nov 2006 16:44:40 -0800, gavino <bootiack at> wrote:
> > > both are interpreted oo langauges......
> > >
> > that is not correct java is compiled and the VM interprets the code
> ... and what do you think is in those pesky little .pyc files you may
> have noticed lying around on your hard disk?
can you open a commandline and start writting java code? no

the division between java (runtime) and javac is very explicit, the
compiler catches a lot of things, in python this is threaded in a
totally different way.

the pyc files are just a "catching" system for the common python
developer, as for the java developer the .class files are executable
code. In python noone runs the pyc files, the interpreter takes care
of this for you.

> --

More information about the Python-list mailing list