def read_float(self, input_file): s = string.strip(input_file.readline()) print s return string.atof(s)