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
There's a module you can use from the standard library called shlex:
>>> import shlex >>> print shlex.split('5.6 4.5 6.8 "6.5"') ['5.6', '4.5', '6.8', '6.5']