import sys print sys.version or for a tuple: print sys.version_info
-----Original Message----- From: [EMAIL PROTECTED] [mailto:webware-discuss-admin@;lists.sourceforge.net]On Behalf Of Aaron Held Sent: Thursday, November 07, 2002 7:05 AM To: Michael Montagne Cc: [EMAIL PROTECTED] Subject: Re: [Webware-discuss] Choosing a python version - python vs python2 vs python2.2 Can you tell from within python? Michael Montagne wrote: >>On 07/11/02, from the brain of Aaron Held tumbled: > > >>Could launch check the python version of python and if it not 2.x then >>try python2... >> >>How do you tell the python version from python anyway? >> >>-Aaron >> > > > Try python -V. > ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
