Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 240 Bytes

File metadata and controls

7 lines (4 loc) · 240 Bytes

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.