Python replace text in file if another text is present

前端 未结 0 1856
一向
一向 2021-02-09 02:53

Imagine this is my last line in txt file called in.txt

krle10 - this is my last line or text

so i need to check complete file and if "word1" is found i n

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