From: Sean L. <sl...@ne...> - 2002-11-07 15:13:32
|
import sys print sys.version or for a tuple: print sys.version_info -----Original Message----- From: web...@li... [mailto:web...@li...]On Behalf Of Aaron Held Sent: Thursday, November 07, 2002 7:05 AM To: Michael Montagne Cc: web...@li... 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 Web...@li... https://lists.sourceforge.net/lists/listinfo/webware-discuss |