Hi, Timothy Clemans pointed out a very interesting powerful and *simple* Python web application server today to me called cherrypy: http://www.cherrypy.org/ It's actually very easy to install (just grab their tarball and do "sage -python setup.py install"). To try it out with some nontrivial sage code, after installing it put this in a notebook cell (no {{{'s, of course):
{{{ import cherrypy class HelloWorld(object): def index(self): return str(sage0('factor(293840923840823)')) index.exposed = True cherrypy.quickstart(HelloWorld()) }}} The sage0 business is needed because cherrypy is multithreaded, so can't run sage code directly, so the sage code runs in another process. Anyway, if you shift enter the above then surf to http://localhost:8080 you'll see something. Timothy, if you make several interesting mathematical examples which can be pasted into a notebook cell like above, you might want to post some to this thread. -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---