Python sandbox resources

3 minute read

Idea comes from tryruby.org, it’s an online ruby tutorial.

Some thoughts:

  1. In-browser implementation: there are a lot of languages support in this way, but incomplete as it need implement whole python in browser;
  2. 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);
  3. 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

Editors

Online environment

Documents

Commerce tools

Similar tools for other languages

Refs: