[python] How to iterate over the file in python