https://github.com/k-phoen/python-repl
Online Python Read-Eval-Print Loop (REPL)
https://github.com/k-phoen/python-repl
Last synced: 3 months ago
JSON representation
Online Python Read-Eval-Print Loop (REPL)
- Host: GitHub
- URL: https://github.com/k-phoen/python-repl
- Owner: K-Phoen
- License: mit
- Created: 2011-06-14T23:12:30.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-06-18T09:37:59.000Z (over 14 years ago)
- Last Synced: 2025-06-07T12:05:20.745Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 102 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Online Python REPL
Online Python [**R**ead-**E**val-**P**rint **L**oop](http://en.wikipedia.org/wiki/Read-eval-print_loop) based on
the real python interpreter (or a sandboxed version like
[pysandbox](https://github.com/haypo/pysandbox)).The interpreter is executed on the server and the communication with the user
is done with WebSockets. The server software is Node.js.## Install
* 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!## Demo
A [demo](http://kevingomez.fr/Python-REPL/) is available on my server, it's
running a sandboxed python version but it should be enough to play!