title: How to convert CRLF to LF on a Windows machine in Python
body: <p>So I got those template, they are all ending in LF and I can fill some terms inside with format and still get LF files by opening with <code>&quot;wb&quot;</code>.</p>
  <p>Those templates are used in a deployment script on a windows machine to deploy on a unix server.</p>
  <p>Problem is, a lot of people are going to mess with those template, and I'm 100% sure that some of them will put some CRLF inside.</p>
  <p>How could I, using Python, convert all the CRLF to LF?</p>