Skip to content

Latest commit

 

History

History

replace_words

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

This script reads a file and replace all occurrences of the first word with the second one.

###How to use: python3 input_file.txt word1 word2

The input_file.txt contains a text with word1 occurrences, which will be replaced with word2.