Hi,

On Fri, Feb 6, 2009 at 9:45 AM, Fall In Love with Sage
<cs.losi...@gmail.com> wrote:
>
> I tried the code unsuccessfully:
>   a = open([x.replace(',',' ').split() for x in open('/Applications/
> sage/test.py').readlines()]
>   a
>
> Similarly, the next code too:
>   a = open(for x in open('/Applications/sage/test.py').readlines()
>   a

In addition to Mike's suggestions, you might also want to read the tutorial at

http://www.sagemath.org/doc/tut/node52.html

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to