[Edu-sig] JPython and CP4E

Arthur Siegel ajs@ix.netcom.com
Mon, 9 Oct 2000 11:49:58 -0400

L. Humbert wrote:

>Isn't it possible to tell, where to find *.jar, so everyone interested,
>can study it with Python

Unfortunately I don't currently have a site to do that.  But I'll work on it
and get it done and let folks know.

As it happens I am quite a JPython advocate myself and glad to see it
mentioned on the CP4E list and to find that people are in fact working with
it in an educational context.

For starters, the kind of list of Python resources that Jason recently
posted up for graphics expands exponentially when one includes  the ability
to use JPython. Java3D, for example, is very well accessible to Python code
via JPython. The reality is that there are vaster Java than Python resources
in most every category.  I found it liberating to know I could explore the
Java world of resources while staying close to home,
 being Python.

I am trying to design what I am doing in Java to be easily scriptable in
JPython - the beauty being that if your Java classes are designed to qualify
as beans, than you can use normal Python keyword syntax to set the class's
attributes on initialization.  (I think I said that right).