Try Python: Python Interactive Interpreter in the Browser

This is an interactive tutorial running in the browser for the Python programming language. It requires Silverlight or Moonlight 2 to work.

Try Python is an open source project. You can find the source code at Try Python Google Code Home Page.

There was an old version (Python in the Browser) which used just Javascript and an HTML textarea for the UI. You can see this online here.