I have some text file like this, with several 5000 lines:
5.6 4.5 6.8 \"6.5\" (new line) 5.4 8.3 1.2 \"9.3\" (new line)
so the last t
You can use regexp, try something like this
import re re.findall("[0-9.]+", file(name).read())
This will give you a list of all numbers in your file as strings without any quotes.