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