Come on, the first step is to manipulate the TXT file. To do so, take a look at this link: link
With this, the logic for implementation is to follow the following steps:
1. Read the file lines;
2. Replace the "," characters with "" and store them in a variable;
3. Write the text stored in the variable in the same file.
Implementing Logic:
fileRead = open("arquivo.txt","r")
textoNovoArquivo = ''
for line in fileRead:
textoNovoArquivo += line.replace(","," ")
fileRead.close()
fileWrite = open("/home/enio/python/arquivo.txt","w")
fileWrite.write(textoNovoArquivo)
fileWrite.close()
I hope I have helped. :)