Skip to content

K-Phoen/Python-REPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Python REPL

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.

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 is available on my server, it's running a sandboxed python version but it should be enough to play!

About

Online Python Read-Eval-Print Loop (REPL)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published