Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to read file again in python

with open(...) as fin:
    fin.read()   # read first time
    fin.seek(0)  # offset of 0
    fin.read()   # read again
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #read #file #python
ADD COMMENT
Topic
Name
3+8 =