[Python-talk] recognizing XP systems
Python
python at venix.com
Fri Apr 14 16:27:35 EDT 2006
On Fri, 2006-04-14 at 15:26 -0400, hewitt_tech wrote:
> I get 'nt' on my XP Pro machine.
>
> -Alex
>
Thanks!
> ----- 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
--
Lloyd Kvam
Venix Corp
More information about the Python-talk
mailing list