def find_symbol(symname, lnames, paths):
    for lname in lnames:
        lib = find_lib(lname, paths)
        if lib == None:
            continue
        try:
            llib = ctypes.CDLL(lib, use_errno = True)
            return llib.__getitem__(symname)
        except:
            continue
    raise Exception((symname, lnames, paths) % 'Bah, %s cannot be found in libs %s in the paths %s')
dataset/ETHPy150Open sippy/b2bua/sippy/Time/clock_dtime.py/find_symbol/swapped operands of `%`