platform.mac_ver()
¶
-
platform.
mac_ver
(release='', versioninfo=('', '', ''), machine='')[source]¶ Get MacOS version information and return it as tuple (release, versioninfo, machine) with versioninfo being a tuple (version, dev_stage, non_release_version).
Entries which cannot be determined are set to the parameter values which default to ‘’. All tuple entries are strings.