title: Python Make newline after character
body: <p>I would like to make a newline after a dot in a file.</p>
  
  <p>For example:</p>
  
  <pre><code>Hello. I am damn cool. Lol
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Hello.
  I am damn cool.
  Lol
  </code></pre>
  
  <p>I tried it like that, but somehow it's not working:</p>
  
  <pre><code>f2 = open(path, "w+")
      for line in f2.readlines():
          f2.write("\n".join(line))
      f2.close()
  </code></pre>
  
  <p>Could your help me there?</p>
  
  <p>I want not just a newline, I want a newline after every dot in a single file. It should iterate through the whole file and make newlines after every single dot.</p>
  
  <p>Thank you in advance!</p>