os.release()


以字符串形式返回操作系统。

¥Returns the operating system as a string.

在 POSIX 系统上,操作系统版本是通过调用 uname(3) 来确定的。在 Windows 上,使用 GetVersionExW()。有关详细信息,请参阅 https://en.wikipedia.org/wiki/Uname#Examples

¥On POSIX systems, the operating system release is determined by calling uname(3). On Windows, GetVersionExW() is used. See https://en.wikipedia.org/wiki/Uname#Examples for more information.