My first Python program! Anyone care to review it an help me improve?
<p>I just wrote my first Python program and it works! It is a program that will rename subtitle files to their matching video files so that media players will pick up the subtitles (e.g. it will rename "The_Office_3x01.str" to "The.Office.S03E01.str" if a file named "The.Office.S03E01.avi" was present in the directory).</p>

<p>I'd love for someone to comment/criticize my code and help me improve my coding style and make it more Python-y. You can find the code at <a href="http://subtitle-renamer.googlecode.com/hg/renombrador.py" rel="nofollow">http://subtitle-renamer.googlecode.com/hg/renombrador.py</a></p>

<p>As I said, it is my very first program in Python, so feel free to comment on anything like:</p>

<ul>
<li>Style (indentation, variable names, conventions, etc.)</li>
<li>Design</li>
<li>Python features I should be using that I'm not</li>
<li>My use of the libraries</li>
</ul>

<p>Thanks!</p>
