Hello,
I'm using Iron Python 0.9.1. I wonder why won't these
run?
fileBeforeSort = file("READ_ME_AND_SORT_ME.txt", "r")
afterSort = sorted(int(line.rstrip('\n')) for line in
fileBeforeSort)
fileBeforeSort.close()
IronPython tripped on the 2nd line, it said:
SyntaxError: unexpected token for a
Hi Ray,
> Ray Djajadinata Wrote:
>
> fileBeforeSort = file("READ_ME_AND_SORT_ME.txt", "r")
> afterSort = sorted(int(line.rstrip('\n')) for line in fileBeforeSort)
> fileBeforeSort.close()
>
> IronPython tripped on the 2nd line, it said:
>
> SyntaxError: unexpected token for at
> ReadAndSortAn