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