Online Python Read-Eval-Print Loop based on the real python interpreter (or a sandboxed version like pysandbox).
The interpreter is executed on the server and the communication with the user is done with WebSockets. The server software is Node.js.
- Clone the repo:
git clone git://github.com/K-Phoen/Python-REPL.git
- Init the submodules:
git submodules update --init
- Build the daemon.node submodule:
cd Python-REPL/lib/vendor/node_daemon/ && node-waf configure build
- copy the previously built module to the daemon.node root directory:
cp build/default/daemon.node .
- Go back to the Python-REPL root directory :
cd ../../../
- Launch the WebSocket server:
node server.js start
- Open the main page (Python-REPL/web/index.html) in a browser and have fun!
A demo is available on my server, it's running a sandboxed python version but it should be enough to play!