How to detect my OS info?

Wolfgang Strobl wks000 at t-online.de
Thu Feb 27 10:46:48 EST 2003


Peter Wu <peterwu at hotmail.com>:
>
>Under FreeBSD, it reports 'freebsd4';
>Under Win32, it reports 'win32'.
>
>How can I have more detailed information, such as version?

>>> win32api.GetVersionEx()
(5, 0, 2195, 2, 'Service Pack 3')

Needs Mark Hammonds win32all, see
http://starship.python.net/crew/mhammond/

-- 
Wir danken für die Beachtung aller Sicherheitsbestimmungen




More information about the Python-list mailing list