Программа для определения mac os

«`python
import platform

def get_mac_os_version():
«»»Gets the version of macOS the computer is running.»»»

return platform.mac_ver()[0]

if __name__ == «__main__»:
print(get_mac_os_version())
«`

Читать статью  Программы для ssh mac os
Прокрутить вверх