I have wrote the following code to split a line, what I was trying to do is to get the 1.802e+05 and 1.739e+04. I think I can split the line with space, then I can get those values, but what I got so far is only the letter H. Anyone can show me where my bug is?
line = 'Htin 1.802e+05 [J kg^-1] Htout 1.739e+04 [J kg^-1]'
line.split(' ')
print line[0]