Skip to content

Conversation

@turegano-equinix
Copy link

#Changed in version 3.8: On macOS, the function now uses mac_ver(), if it returns a non-empty release string, to get the macOS version rather than the darwin version.

import platform
platform.platform()
'macOS-13.2.1-x86_64-i386-64bit'

#Changed in version 3.8: On macOS, the function now uses mac_ver(), if it returns a non-empty release string, to get the macOS version rather than the darwin version.

>>> import platform
>>> platform.platform()
'macOS-13.2.1-x86_64-i386-64bit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant