easiest way to check python version?

Martin P. Hellwig martin.hellwig at dcuktec.org
Wed Jun 10 13:18:08 CEST 2009


dmitrey wrote:
> hi all,
> what is easiest way  to check python version (to obtain values like
> 2.4, 2.5, 2.6, 3.0 etc) from Python env?
> I don't mean "python -V" from command prompt.
> Thank you in advance, D.

You don't mean:

 >>> sys.version

either?

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list