Python Platform Module
System platform info — system, release, python_version, uname. This category documents 14 Python platform module entries, and each page gives you the full syntax, the parameter list, the return value, and a runnable example. The entries include: platform.system(), platform.release(), platform.version(), platform.machine(), platform.processor(), platform.python_version(), platform.python_version_tuple(), platform.node(), platform.uname(), platform.architecture(), platform.platform(), platform.python_compiler(), platform.python_build(), platform.java_ver(). platform.system() returns the OS/system name (Linux, Windows, Darwin, Java). platform.release() returns the system release version. platform.version() returns the system version string. platform.machine() returns the machine type (x86_64, arm64, etc.). platform.processor() returns the processor type (may return empty string). Platform Module belongs to the System & OS group alongside OS Module, Sys Module, Getpass Module, Signal Module. You can also search across every category from the search page, browse the complete A–Z index, or try any example in the Python playground.