python open an existing file and read code example
Example: 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
with open(...) as fin:
fin.read() # read first time
fin.seek(0) # offset of 0
fin.read() # read again