Failing gracefully when installed Python is too old?

Alex new_name at mit.edu
Mon Jul 16 21:46:51 CEST 2001


> Is there any way to check the version at compile time?

You could have a wrapper module called at the start of your application
that just checks the version, and fails if need be, and imports the main
module if not.

Alex.



More information about the Python-list mailing list