On Mon, Mar 31, 2008 at 04:51:26PM -0700, David Brown wrote:
> >I want multiple people to access same Sage instance over the web via a web
> >interface.
>
> I would still write something in python that does the multiple access and
> runs the Sage instance, and that takes to the multiple web instances.

Only one web instance.  Think of it as a single stop web site for homework
help.

> Trying to get multiple programs to talk to one interactive program is going
> to be a nightmare.

Perhaps I was unclear.  Not multiple programs just multiple people.
But web app takes care of that so only one program (web server/app)
needs to talk to Sage.

> You could have a python main that accepted socket connections with commands
> and outputs the results.  Be a little concerned if your machine isn't
> secure, though.

Python include a module called pexpect that lets you do Expect type stuff
from python.  I'll have one web app that will talk to one Sage process.

cs


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to