PyShell is an interative web based python tutor. It is built upon Web2Py MVC framework. It contains support for Google App Engine Hosting. All of the backend is written in Python and the front end is a mixture of javascript tricks. We have made a good use of CodeMirror, a fabolous javascript library to build our web based editor. For the beauty aspects Bootstrap came in handy. Most of the code is in the following files:
- controllers/default.py - Contains most of the controllers including the code for running python shell.
- models/db.py - New and standard database definitions and some DB related controllers.