How do I remove special characters from a text file?

Huyền Thu

New member
How do I remove special characters from a text file?
Answer
How to remove all the special characters from a text file in Python
  1. Myfile = open(“input.txt”, “r”) #my text is named input.txt. …
  2. This is demo For checking ]][/’;;’.%^ these chars @%^* to be removed $ ^ % %..; i am not @^$^(*&happy%$%@$% about %%#$%@ coro%%na virus 19. …
  3. ThisisdemoForcheckingthesecharstoberemoved.
 

Tìm kiếm

Back
Top