def get_os_release():
    return re.match('[\d.]+', platform.release()).group(0)
Get the leading numeric component of the OS release.
dataset/ETHPy150Open veegee/amqpy/amqpy/support/monotonic.py/get_os_release