()
return getattr(settings, 'DisplayFrequency')
Get the refresh rate of the main monitor.
    Returns:
        Refresh rate/display frequency as an int.
Get the refresh rate of the main monitor.
    Returns:
        Refresh rate/display frequency as an int.
Get the refresh rate of the main monitor . Returns : Refresh rate / display frequency as an int .
def get_refresh_rate():
    """Get the refresh rate of the main monitor.
    Returns:
        Refresh rate/display frequency as an int.
    """
    device = win32api.EnumDisplayDevices()
    settings = win32api.EnumDisplaySettings(device.DeviceName, 0)
    return getattr(settings, 'DisplayFrequency')
def get_refresh_rate ( ) : device = win32api . EnumDisplayDevices ( ) settings = win32api . EnumDisplaySettings ( device . DeviceName , 0 ) return getattr ( settings , 'DisplayFrequency' )