How to remove quotation and whats inside all together in python?

后端 未结 0 1590
无人及你
无人及你 2020-12-01 02:54

I wanted to remove strings in a file (a code file in which all strings are quotations) like this:

text = "Hello have a nice day!"
text2 = "Than         


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