IdentifiantMot de passe
Mot de passe oublié ?Je m'inscris ! (gratuit)
14.12.3 Windows Platform

14.12.3 Windows Platform

win32_ver( release='', version='', csd='', ptype='')
Get additional version information from the Windows Registry and return a tuple (version, csd, ptype) referring to version number, CSD level and OS type (multi/single processor).

As a hint: ptype is 'Uniprocessor Free' on single processor NT machines and 'Multiprocessor Free' on multi processor machines. The 'Free' refers to the OS version being free of debugging code. It could also state 'Checked' which means the OS version uses debugging code, i.e. code that checks arguments, ranges, etc.

Note: This function only works if Mark Hammond's win32all package is installed and (obviously) only runs on Win32 compatible platforms.

See About this document... for information on suggesting changes.