Failing gracefully when installed Python is too old?

Alex new_name at mit.edu
Mon Jul 16 15:46:51 EDT 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