I have a .txt file with a variable called id=
How can I write a script that will look into that .txt
file, find id=
and insert a string right after the =
?
I do have a separate .py
file called dictionary that contains a dictionary with the purpose of finding and replacing certain words in the .txt
file.
Could I also use this dictionary as a way to find and insert?