reading custom delimited file in python

Solutions on MaxInterview for reading custom delimited file in python by the best coders in the world

showing results for - "reading custom delimited file in python"
Paula
16 Jul 2019
1f= open("f.txt",mode='r',encoding='utf8', newline='\r\n')
2
3# use enumerate to show that second line is read as a whole
4for i, line in enumerate(fd):   
5    print(i, line)
6
similar questions
queries leading to this page
reading custom delimited file in python