How to overwrite or delete a line in file using python

后端 未结 0 1005
一向
一向 2021-02-10 08:58

I am getting stream of data from an iterator and I would like to dump that to a file. I am doing that as below for now

data_stream = range(100)    # for simplicit         


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