

def resource_filename(modulename, resource_name):
    modulepath = namedAny(modulepath).__file__
    return os.path.join(os.path.dirname(os.path.abspath(modulepath)), resource_name)

dataset/ETHPy150Open twisted/nevow/nevow/util.py resource_filename/VarMisuse@16/23 `modulename`->`modulepath`