Title: Python REPL in your browser

Okay, I think this is "done enough" to show around and get some feedback (and contributions ;) on. I hacked up a REPL-over-HTTP tool yesterday and today. Current code and doc is at http://projects.amor.org/misc/wiki/HTTPREPL.

You can deploy it "standalone", maybe to give people a taste of Python. You can also use it to try various interpreter hacks (for example, I mistype "import" as "improt" often enough that I could trap that in HTTPREPL.push). The "cool factor" to me, though, is that once you have an adapter for your web framework, you can embed it in a web application and inspect what's going on in your web app or framework at runtime (in ways that took ugly printlining before).

Currently, it's only got a CherryPy adapter (and <title> ;). I'd be glad to include adapters for more frameworks. The code is in the public domain, so enjoy it however you like!


Robert Brewer
System Architect
Amor Ministries
[EMAIL PROTECTED]

_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to