You have to use the Python install included with Sage which has everything you need.
So write your script and then do "sage -python blah.py" On Thu, Apr 3, 2008 at 11:35 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I saw the example that used Expect to invoke Sage from an external > program. > > Is Expect necessary from Python scripts too? > > Can I just import some sage modules and then call some functions from > Python? > > Chris > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---