What version of python is running a script

Ratko Jagodic rjagodic at gmail.com
Tue Mar 7 10:06:39 EST 2006


import sys
sys.version
yields something like:
2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]



On 3/7/06, Fernando Rodríguez <frr at easyjob.net> wrote:
>
>
> Hi,
>
> How can my script tell which version of python is running it?
>
> Thanks
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060307/4c1698b0/attachment.html>


More information about the Python-list mailing list