use for jython?
Erik Max Francis
max at alcyone.com
Sat Mar 29 22:05:52 EST 2003
David McNab wrote:
> Jython seems good for browser applets.
> Wonderful to be able to write those suckers in Python without having
> to
> touch a single line of J---
Well, I can sympathize with your reaction (it's darn neat), but it
doesn't seem fair to call
from java.applet import Applet
class HelloWorld(Applet):
def paint(self, g):
g.drawString("Hello from Jython!" 20, 30)
"not touching a single line of Java," given that this wouldn't make a
lot of sense without already knowing at least some elements of the Java
standard library.
It's Python, but it's really Python-as-Java rather than something
entirely independent of Java.
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ I grow with each step that I take / I'm loving my freedom
\__/ Chante Moore
WebVal / http://www.alcyone.com/pyos/webval/
URL scanner, maintainer, and validator in Python.
More information about the Python-list
mailing list