[Tutor] python scripts in HTML documents
Alexandre Ratti
alex@gabuzomeu.net
Mon, 20 May 2002 10:22:18 +0200
At 00:42 20/05/2002 -0400, you wrote:
>Subject: Re: [Tutor] python scripts in HTML documents
>To: john public <apython101@yahoo.com>
>From: Erik Price <erikprice@mac.com>
>To get back to your question: if someone ever created a browser with a
>Python interpreter built in, then yes you could do the kinds of things
>that you do with JavaScript but in Python instead. But I doubt that
>this will happen
IIRC, a browser was implemented in Python. It's called Grail.
"Grail is an extensible Internet browser written entirely in the
interpreted object-oriented programming language Python. It runs on Unix,
and, to some extent, on Windows and Macintosh. Grail is easily extended to
support new protocols or file formats. Grail is distributed in source
form, free of charge, and without warranties. It requires recent versions
of Python and Tcl/Tk to run." http://grail.sourceforge.net/
It supports applets:
"Grail lets you download Python programs that execute inside Grail on your
local machine. These little applications ("applets") can do things like
display animations, interact with the user in new ways, even create
additional menus that pop up dialogs if you like. If you are using Grail
now, visit our applet demo collection. Grail applets run in a restricted
execution environment, so that broken or malicious applets ("Trojan
Horses") can't erase your files or crash your computer."
http://grail.sourceforge.net/
However, it is described as experimental and looks unmaintained.
Cheers.
Alexandre