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