On Tue, Apr 01, 2008 at 06:11:55PM -0700, [EMAIL PROTECTED] wrote:
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.
My question is why are you even trying to run expect? Sage is written in Python, just call it directly. If you need a persistent instance, either do some kind of cgi-persistence thing, or create a socket and listen. All will be much easiser than trying to shoehorn expect into it. Expect is for instances where you don't have an easier way to do it. David -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
