On Wed, Jun 3, 2009 at 11:00 AM, Minh Nguyen <nguyenmi...@gmail.com> wrote: > You might want to try just putting the code in a some text file whose > extension is ".sage". For example, I put the following code in a file > called "demo.sage", not "demo.py":
The reason why this works is that Sage preparses all .sage scripts and turns them into valid .py scripts. --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---