Re: What version of python is running a script

2006-03-07 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Fernando Rodríguez <[EMAIL PROTECTED]> wrote: > >Hi, > >How can my script tell which version of python is running it? . . . $ python Python 2.3.5 (#2, Aug 30 2005, 15:50:26) [GCC 4.0.2 20

Re: What version of python is running a script

2006-03-07 Thread Juho Schultz
Fernando Rodríguez wrote: > > Hi, > > How can my script tell which version of python is running it? > > Thanks > > import sys # examine these variables sys.version_info sys.version -- http://mail.python.org/mailman/listinfo/python-list

Re: What version of python is running a script

2006-03-07 Thread Ratko Jagodic
import syssys.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 <[EMAIL PROTECTED]> wrote:Hi, How can my script tell which version of python is running it?Thanks--http://mail.python.org/mailman/listinfo/python-list -- http:/

What version of python is running a script

2006-03-07 Thread Fernando Rodríguez
Hi, How can my script tell which version of python is running it? Thanks -- http://mail.python.org/mailman/listinfo/python-list