win9x or WinNT

Thomas Guettler zopestoller at thomas-guettler.de
Wed Jul 31 12:22:01 EDT 2002


Hi!

How can a python programm know if it
runs on win9x or on WinNT?

sys.platform always returns win32.

I need to handle some stuff different
if I am on win9x.

  thomas




More information about the Python-list mailing list