avoiding long paths to interpreter
Erik Max Francis
max at alcyone.com
Mon Jan 13 01:44:44 EST 2003
More information about the Python-list mailing list
Mon Jan 13 01:44:44 EST 2003
- Previous message (by thread): avoiding long paths to interpreter
- Next message (by thread): avoiding long paths to interpreter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Robin Munn wrote: > If you're dependent on a particular version of Python, then it makes > the > most sense to simply check sys.version_info as soon as possible, and > exit gracefully with an appropriate error message, e.g.: > > import sys > > if sys.version_info < (2,2): # Require at least Python 2.2 Neglecting you meant >= and not < here, it's worth pointing out that sys.version_info itself only first made an appearance in version 2.0. Even sys.hexversion was only introduced in 1.5.2. -- Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/ __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE / \ Nothing is so good it lasts eternally \__/ Florence, _Chess_ Max Pandaemonium / http://www.maxpandaemonium.com/ A sampling of Max Pandameonium's music.
- Previous message (by thread): avoiding long paths to interpreter
- Next message (by thread): avoiding long paths to interpreter
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list