How to erase only certain contents from a file in python

前端 未结 0 919
你的背包
你的背包 2020-12-31 14:42

I am trying to erase all question marks(\'?\') from a .txt file. I tried tokenizing all content and printing it back like this:

with open(\'my.txt\', \'r\') a         


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