python version
David Bolen
db3l at fitlinxx.com
Fri Sep 21 17:39:22 EDT 2001
"Steven D. Majewski" <sdm7g at Virginia.EDU> writes:
> Of course, if you want to do it from the command line, you can just do:
>
> =09python -V
For those still managing older stuff, note that this is only Python 2.0+
1.5.2 (not sure about earlier) does have sys.version and sys.hexversion,
but the tuple sys.version_info also got introduced in 2.0.
(For 2.0, 1.6 may also be valid but I generally ignore that release :-))
--
-- David
--
/-----------------------------------------------------------------------\
\ David Bolen \ E-mail: db3l at fitlinxx.com /
| FitLinxx, Inc. \ Phone: (203) 708-5192 |
/ 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \
\-----------------------------------------------------------------------/
More information about the Python-list
mailing list