Python, Read both end of the line characters [CR][LF]
<p>For python in windows environment <br/>
I have a log file that uses [CR][LF] as end of the line indication.</p>

<p>But python will only read the [LF] char (\x0A) as '\n' <br>
[CR] or'\x0d' is somehow ignored. Len() of the read string is reduced by 1 due to this.</p>

<p>Is there a universal/local setting somewhere I can tell python to avoid doing that?</p>