I want to extract just a single value from a .dat file, so far I have managed to extract the value I want but my adding individual strings together. It is very clunky, so looking for a smoother method which will just give me the first value in the row.
The split() function uses blank (space) as the default delimiter and returns a list of blank separated strings. See tutorial. So your question is answered by newQ = GL[-1].split()[0]
Also, you want to be aware that list and strings both use [ ] to allow indexing.