check for a certain Python version

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Tue Dec 20 08:33:37 EST 2011


Hi!

I'd like to give my users a meaningful error message when they are using 
obsolete Python versions. Is there some kind of best practice or recipe 
for that? Specifically, the case is a bunch of unittests that use 
features new to Python 2.7.

Thank you!

Uli



More information about the Python-list mailing list