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.