[EMAIL PROTECTED] wrote:

>I've got a trouble, and i think that anybody there can help me
>
>I've got a python script which i distribute in somes packages for *nix.
>This script is full of python and need python 2.4 ! And i'd like to
>display a message when the user doesn't have a python2.4 version.
>  
>
 >>> import sys
 >>> sys.version
'2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)]'
 >>>

There is also

sys.hexversion
sys.api_version
sys.version_info*

Read this:

*http://docs.python.org/lib/module-sys.html


  Les

**
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to