Hello, On Thu, Feb 5, 2009 at 2:45 PM, Fall In Love with Sage <[email protected]> wrote: > I tried the code unsuccessfully: > a = open([x.replace(',',' ').split() for x in open('/Applications/ > sage/test.py').readlines()] > a
You can do the following to load a .py file into a Sage session: sage: load /Applications/sage/test.py If you want to have the file automatically reloaded when you make changes to it, you can do: sage: attach /Applications/sage/test.py --Mike --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
