my file is of the form
01 "\t" 10.19 "\t" 0.00 "\t" 10.65
02 "\t" 11.19 "\t" 10.12 "\t" 99.99
and i need to access the individual floating point numbers from it!
say for ex. the first no is 10.19.. i want to access this and add one to it.
for char accesss every digit and not the numbers{"10.19" ,"0.00")etc. . how do i do this..help
01 "\t" 10.19 "\t" 0.00 "\t" 10.65
02 "\t" 11.19 "\t" 10.12 "\t" 99.99
and i need to access the individual floating point numbers from it!
say for ex. the first no is 10.19.. i want to access this and add one to it.
Code:
filename=open("half.transfac","r") file_content=filename.readlines() sam="" for line in file_content: for char in line: if char=="\tchar\t\n": sam+=char print sam
Comment