diff options
author | Ian Bicking <ian@ianbicking.org> | 2005-05-07 19:50:56 +0000 |
---|---|---|
committer | Ian Bicking <ian@ianbicking.org> | 2005-05-07 19:50:56 +0000 |
commit | 260ddb0792f6ac826a6473937ec0b5be5f603dbd (patch) | |
tree | 65a672079be60153fd6cfbe3ef3e5939669774d1 /examples | |
parent | 238fedb59778bc0d1241a9778608e0a1f4ffea07 (diff) | |
download | paste-git-260ddb0792f6ac826a6473937ec0b5be5f603dbd.tar.gz |
Added docs
Diffstat (limited to 'examples')
-rw-r--r-- | examples/console/README.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/examples/console/README.txt b/examples/console/README.txt index 0619215..3331fa1 100644 --- a/examples/console/README.txt +++ b/examples/console/README.txt @@ -1,2 +1,17 @@ -This isn't finished. I'm having problems getting jsonolait to work. -I didn't mean to commit it, but eh, just don't expect it to work yet. +This example implements an interactive Python shell in the browser. +This uses "Ajax" style interaction, where entering a command sends the +command in the background to the server, and updates the application +in-place with the response. + +This uses jsolait for the server communication: http://jsolait.net/ +You must download that library and put it in web/jsolait + +This must be run from a threaded server, as state is kept in a module +global. Potentially it could be run out of the session, but many +objects you may want to manipulate can't be pickled. Another option +would be a single process that does the execution, which the web +frontend would communicate, but that's more complicated to set up. + +Access is restricted to 127.0.0.1 (localhost) for obvious security +reasons. + |