[Tutor] Browser-based Python Interpreter

alan.gauld@bt.com alan.gauld@bt.com
Thu, 6 Sep 2001 15:10:20 +0100


> facility akin to the "Java Runtime Environment."  

There are only two options that I know of:

1) Grail, an unmaintained web browser written entirely(?) 
in Python with an embedded interpreter.

2) Use Jython and compile to classes. This produced standard 
java applets that you can reference and run pretty much as 
any other Java applet. But you write them in Python.

THe 3rd option is not quite the same which is (on Windows 
at least) to install the Active Scripting support for 
Python and this then allows you to embed Python in a 
web page in the same way as Javascript.

Personally I'd go the Jython route, not least because 
there's a bigger support community!

Alan g