Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Reading Custom Delimited

f= open("f.txt",mode='r',encoding='utf8', newline='
')

# use enumerate to show that second line is read as a whole
for i, line in enumerate(fd):   
    print(i, line)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Reading #Custom #Delimited
ADD COMMENT
Topic
Name
5+8 =