Replacing text occurring before specific symbol in txt file python

后端 未结 0 891
南方客
南方客 2021-02-07 02:00

So i have a file that is named "lorem.txt" (As a test file atm) that contains 2 lines:

hello:world
goodbye:now

I want to be able to rem

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