Jim wrote:

If I have a file with a floating point number on each line, what is the best way of reading them into a list (or other ordered structure)?

I was iterating with readline and appending to a list but it is taking ages.

Perhaps you should use readlines (notice the s) instead of readline. -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to