MozPython embeds the Python interpreter in Mozilla.

Now you can execute Python scripts in Mozilla.
Output sent to sys.stdout by a script is displayed in Mozilla's browser window, where it is interpreted as HTML. If you have written a Web application with Python CGI scripts you can now have your application be executed offline running the same scripts in Mozilla. This can help us to create pure Mozilla applications, or multiplatform THICK clients for zope sites, capable of disconnected operation. more on homepage of the project: