Python sandbox resources
Idea comes from tryruby.org, it’s an online ruby tutorial.
Some thoughts:
- In-browser implementation: there are a lot of languages support in this way, but incomplete as it need implement whole python in browser;
- B/S implementation: it’s simple, front-end just need a console for input, back-end receive and process those commands and return meaningful info, what we need to care about is security, limit or mock the dangerous ops (pysandbox may help on this);
- Based on the environment, we need design the lesson structure, make a specification to add new lessons and validate the tests.
JS based python environment
- Entirely in-browser implementation of Python http://www.skulpt.org
Editors
- A versatile text editor implemented in JavaScript for the browser. http://codemirror.net/ Special for Python(http://codemirror.net/mode/python/index.html)
Online environment
- Python Cloud IDE http://pythonfiddle.com/
- Online classroom https://repl.it/languages/Python
- An online compiler/interpreter, and a simple collaboration tool. http://codepad.org/
- An interactive Python tutorial. http://www.learnpython.org/
- iPython terminal http://www.tutorialspoint.com/ipython_terminal_online.php
- Python Online http://www.tutorialspoint.com/execute_python_online.php
- Amazing Tool for understanding what happens as the computer executes each line of a program’s source code. http://pythontutor.com/visualize.html
Documents
- Online Python exercises http://nedbatchelder.com/blog/201109/online_python_exercises.html
- 用RestrictedPython创建Python Sandbox http://marlonyao.iteye.com/blog/905313
Commerce tools
Similar tools for other languages
- tryruby http://tryruby.org
- jsfiddle https://jsfiddle.net/
- jsbin http://jsbin.com
- JQuery http://try.jquery.com/
Refs:
- Online IDE for Python http://stackoverflow.com/questions/2036987/online-ide-for-python