def convert_dll_name_to_str(dll_name):
 if (is_py3 and isinstance(dll_name, bytes)):
  return str(dll_name, encoding='UTF-8')
 else:
  return dll_name

def convert_dll_name_to_str ( dll_name ) : if ( is_py3 and isinstance ( dll_name , bytes ) ) : return str ( dll_name , encoding = 'UTF-8' ) else : return dll_name
convert dll names from bytes to str .