How to write Python code that is able to properly require a minimal python version?
<p>I would like to see if there is any way of requiring a minimal python version.</p>

<p>I have several python modules that are requiring Python 2.6 due to the new exception handling (<code>as</code> keyword).</p>

<p>It looks that even if I check the python version at the beginning of my script, the code will not run because the interpreter will fail inside the module, throwing an ugly system error instead of telling the user to use a newer python.</p>
