win9x or WinNT

Tim Roberts timr at probo.com
Tue Aug 6 05:24:05 CEST 2002


"Nicodemus" <nicodemus at icablenet.com.br> wrote:

>If you are just interested in the difference between win9x and NT/2000, you
>can use os.name instead.
>
>>>> import os
>>>> os.name
>'nt'

No, I don't think so.  You'll get that exact same result on Win98.
--
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list