On this page
platform.system_alias
Prev: platform.system | Up: platform | Next: platform.uname
Rel: platform.android_ver, platform.AndroidVer, platform.architecture, platform.freedesktop_os_release
Ref: docs.python.org — platform.system_alias
Tags: #public #python3 #stdlib #platform
Import
import platform
from platform import system_alias
Signature & Overview
platform.system_alias(system, release, version)
marketing names used for some systems.
Usage
import platform
sys_name, rel, ver = platform.system_alias("Darwin", "24.0.0", "")
assert isinstance(sys_name, str)
Gotchas
- Maps raw OS names to common marketing names where applicable.
REPL Inspect
from platform import system_alias
help(system_alias)
Linked from
Related notes
- tuts/python3/stdlib_module/platform/system Linked here; links to this page; shared tags: #platform, #stdlib
- tuts/python3/stdlib_module/platform/uname 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