[IronPython] Python in the Browser Project Page
fuzzyman at voidspace.org.uk
Sun Jun 15 06:33:14 PDT 2008
I've setup a project page for "Python in the Browser", an interactive
Python interpreter that runs in an HTML textarea.
There's no download yet, but I have checked in the current code.
"Python in the Browser" is an interactive Python interpreter that runs
in the browser, using Silverlight 2 and IronPython?.
This is ideal for tutorials and documentation, where example Python code
can actually be tried in the browser.
It requires Silverlight 2 Beta 2, and the Python version is 2.5.
communicates with Silverlight and prevents you deleting text from the
console except after the interactive prompt.
Target browsers are Firefox 2 & 3, Safari and IE 7. (Although reports on
compatibility with other browsers welcomed.)
Currently it 'works' but is at an early stage of development.
The project is a combination of IronPython? (for the interpreter loop),
I've entered the known issues at:
There is a live example at:
I'm not sure how quickly I will be able to develop this (I have a book
to finish!), but it should be very easy to knock out a couple of the
simpler issues quickly.
If you want to contribute then please post patches to the issue tracker.
More information about the Users