On this page
platform.win32_ver
Prev: platform.win32_is_iot | Up: platform
Rel: platform.android_ver, platform.AndroidVer, platform.architecture, platform.freedesktop_os_release
Ref: docs.python.org — platform.win32_ver
Tags: #public #python3 #stdlib #platform
Import
import platform
from platform import win32_ver
Signature & Overview
platform.win32_ver(release='', version='', csd='', ptype='')
platform.win32_ver() function.
Usage
import platform
rel, ver, csd, ptype = platform.win32_ver()
assert isinstance(rel, str)
Gotchas
- Returns empty strings on non-Windows systems.
REPL Inspect
from platform import win32_ver
help(win32_ver)
Linked from
Related notes
- tuts/python3/stdlib_module/platform/win32_is_iot Linked here; links to this page; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/android_ver Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/AndroidVer Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/architecture Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/freedesktop_os_release Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/platform Linked here; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/platform/invalidate_caches shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/ios_ver shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/IOSVersionInfo shared tags: #platform, #stdlib