win32all - determine wrkstn vs. server

Wolfgang Strobl news2 at mystrobl.de
Sat Jun 12 09:11:58 EDT 2004


ChrisH <secun at yahoo.com>:

>Does anyone know of a way to determine whether the current computer 
>running a python script is a workstation or server? 

Use _winreg to look into
HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions


-- 
Thank you for observing all safety precautions



More information about the Python-list mailing list