John Frame wrote: > How would I read this data from the file into a two dimensional array in > Python?
Like:
[x.split() for x in open('myfile.txt')]
Or if you need integers:
[[int(a) for a in x.split()] for x in open('myfile.txt')]
;)
--
Soni Bergraj
http://www.YouJoy.org/
--
http://mail.python.org/mailman/listinfo/python-list
