"Jim Morcombe" <[EMAIL PROTECTED]> wrote
Is there any way to write python code inside a HTML page instead of
using Javascript?
Yes, but only if you
a) are using IE as your browser under Windows.
b) Have WSH installed
c) Have run the scripting activation script in the Pyhonwin package
OR you could write your own browser in Python...
Another option is to make Javascript more like Python
by using Mochikit...
http://mochikit.com/
In general I'd try to stick to vanilla JavaScript for client
side web scripting, anything else runs the risk of not
working as expected on somebody's browser.
--
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor