[Python-talk] recognizing XP systems
hewitt_tech
hewitt_tech at comcast.net
Fri Apr 14 15:26:52 EDT 2006
I get 'nt' on my XP Pro machine.
-Alex
----- Original Message -----
From: "Python" <python at venix.com>
To: "python-talk" <python-talk at dlslug.org>
Sent: Friday, April 14, 2006 3:01 PM
Subject: [Python-talk] recognizing XP systems
>I need to distinguish between NT family Windows and Win95/98/ME. I use
> import os
> os.uname()[2]
> and look for '2000' and 'NT'.
>
> I do not have an XP system. If someone with easy access to Python on XP
> could tell me what os.uname() returns, I'd greatly appreciate it. (I'm
> running out to give blood now, so you won't get an immediate reply.
> Today, the Red Cross. Tomorrow the IRS. :-)
>
> --
> Lloyd Kvam
> Venix Corp
>
> _______________________________________________
> Python-talk mailing list
> Python-talk at dlslug.org
> http://dlslug.org/mailman/listinfo/python-talk
More information about the Python-talk
mailing list