Reading from a file reads only the last line in python

后端 未结 0 1423
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 15:03

I have a problem with python and file reading. When i\'m running this code, it reads only the last line from the text file. This is the code:

with open("         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题