On Mon, Mar 31, 2008 at 04:46:51PM -0700, [EMAIL PROTECTED] wrote:
On Mon, Mar 31, 2008 at 08:27:16AM -0700, David Brown wrote:
Any particular reason to not just call sage directly, it's written in
python after all, and is intended be usable as a library.

Otherwise, you're probably best off writing what you want into the sage
files, having it compile them and invoking the whole program.

Getting it to work interactively (and reliably) is significantly harder,
and this particular case way overkill.

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.

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

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.

David


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

Reply via email to