This is my code, trying to convert the second field of the line from exponential into float.
outputrrd = processrrd.communicate() (output, error) = outputrrd
The easy way is replace! One simple example:
value=str('6,0865000000e-01') value2=value.replace(',', '.') float(value2) 0.60865000000000002