Converting DOS text files to Unicode using Python
<p>I am trying to write a Python application for converting old DOS code page text files to their Unicode equivalent. Now, I have done this before using Turbo Pascal by creating a look-up table and I'm sure the same can be done using a Python dictionary. My question is: <em>How do I index into the dictionary to find the character I want to convert and send the equivalent Unicode to a Unicode output file?</em></p>

<p>I realize that this may be a repeat of a similar question but nothing I searched for here quite matches my question.</p>