Which Python Version
Robert Rawlins - Think Blue
robert.rawlins at thinkbluemedia.co.uk
Wed Jul 4 06:59:46 EDT 2007
Thanks Tim,
Greatly appreciated, I've been having a few problems with one of my apps
recently crashing at all sorts of odd intervals without throwing an error or
anything like that, So I'm upgrading to 2.5 to see if they'll make life any
simpler.
Thanks mate,
Rob
-----Original Message-----
From: python-list-bounces+robert.rawlins=thinkbluemedia.co.uk at python.org
[mailto:python-list-bounces+robert.rawlins=thinkbluemedia.co.uk at python.org]
On Behalf Of Tim Golden
Sent: 04 July 2007 11:36
Cc: python-list at python.org
Subject: Re: Which Python Version
Robert Rawlins - Think Blue wrote:
> Is there a command I can run to confirm which version of python I'm
running?
From outside Python:
python -V
(that's a capital V)
From inside Python:
import sys
print sys.version
(and a couple of more easily parseable alternatives; look at the sys module
docs)
TJG
--
http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list