reading custom delimited

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

showing results for - "reading custom delimited"
Elisa
11 Jul 2016
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