Does this do the trick?

os.system("python -V")




On Thursday, November 7, 2002, at 10:05  AM, Aaron Held wrote:

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

Reply via email to