Is there a way to execute python code in a browser, other than using Jython and an applet?
The execution does not have to deal with anything related to graphics. For
You mean client-side?
Sure you can! But you need to have python installed on the client first.
The linked book describes that in order to use client-side Active Scripting, you can test it with the a simple html file.
In the old version refered in that book (Python programming on Win32
By Mark Hammond, Andy Robinson)
it says that you need to install the Python Win32 extensions, and it will automatically register Python Active Scripting. Should you do it manually, you have to run the script python\win32comext\axscript\client\pyscript.py.