On Wed, Oct 19, 2011 at 11:48 AM, Luc Hogie <[email protected]> wrote: >> Grph comes with a clean Java API, and with an *interactive >> experimentation environment* featuring a console similar to what >> Python/Perl offer. >> >> On Wednesday, October 19, 2011 5:35:50 PM UTC+1, luchogie wrote: >> >> I do not want to implement Python-like interactive shell in Java. >> >> >> Well at least thats in your mission statement. > > yes but that is another part of our software. :) > >> >> What do you mean by "python wrapper" ? >> >> I mean some Python classes in Sage that call Grph for whatever you want >> to use it for. > > Actually I want Grph to call Sage. Not the other way around. > > Isn't a way to force the Sage console to use only stdin and stdout for user > interaction?
Try "sage -python -u" and make sure to send "from sage.all import *" as the first command to the Python interpreter. This is how the pexpect interface of Sage to itself that Volker mentioned above works. William > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
