Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

open file find and replace commas python

with open('outputFile', 'r+') as f:
    text = f.read()
    f.seek(0)
    f.truncate()
    f.write(text.replace('(comma)', ' , '))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #open #file #find #replace #commas #python
ADD COMMENT
Topic
Name
8+6 =