On May 23, 5:52 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> Why don't you do
>
> child.expect('sage: ')

Because, I was too focused on using child.after, instead of
child.before, but your suggestion works great; thanks for
that.

So I incorporated your suggestion and re-worked and expanded
my examples of calling Sage from Mathematica.  The new
version seems to work fairly well and is posted in the old
spot:
http://facstaff.unca.edu/mcmcclur/Mathematica/Sage/

The examples are all graph-theoretic and illustrate that
Sage is generally faster than Combinatorica.  I also
exported a Sage notebook to a webpage comparing Sage's
is_isomorphic to Combinatorica's IsomorphicQ:
http://facstaff.unca.edu/mcmcclur/Mathematica/Sage/GraphIsomorphism.html

Mark

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to