def __init__(self):
    ' Class initialization\n        '
    try:
        if (os.name == 'nt'):
            self._lib_handle = cdll.LoadLibrary('G2.dll')
        else:
            self._lib_handle = cdll.LoadLibrary('libG2.so')
    except OSError as ex:
        arcpy.AddMessage('ERROR: Unable to load G2.  Did you remember to setup your environment by sourcing the setupEnv file?')
        arcpy.AddMessage('ERROR: For more information see https://senzing.zendesk.com/hc/en-us/articles/115002408867-Introduction-G2-Quickstart')
        arcpy.AddMessage('ERROR: If you are running Ubuntu or Debian please also review the ssl and crypto information at https://senzing.zendesk.com/hc/en-us/articles/115010259947-System-Requirements')
        raise G2ModuleGenericException('Failed to load the G2 library')
    self._resize_func_def = CFUNCTYPE(c_char_p, c_char_p, c_size_t)
    self._resize_func = self._resize_func_def(resize_return_buffer)
Class initialization
def __init__(self):
    ' \n        '
    try:
        if (os.name == 'nt'):
            self._lib_handle = cdll.LoadLibrary('G2.dll')
        else:
            self._lib_handle = cdll.LoadLibrary('libG2.so')
    except OSError as ex:
        arcpy.AddMessage('ERROR: Unable to load G2.  Did you remember to setup your environment by sourcing the setupEnv file?')
        arcpy.AddMessage('ERROR: For more information see https://senzing.zendesk.com/hc/en-us/articles/115002408867-Introduction-G2-Quickstart')
        arcpy.AddMessage('ERROR: If you are running Ubuntu or Debian please also review the ssl and crypto information at https://senzing.zendesk.com/hc/en-us/articles/115010259947-System-Requirements')
        raise G2ModuleGenericException('Failed to load the G2 library')
    self._resize_func_def = CFUNCTYPE(c_char_p, c_char_p, c_size_t)
    self._resize_func = self._resize_func_def(resize_return_buffer)