def find_from_package(pkgname, modname):
    pkg = find_package(pkgname)
    try:
        fo, fpath, (suffix, mode, mtype) = imp.find_module(modname, pkg.__path__)
    except __HOLE__:
        ex, val, tb = sys.exc_info()
        print("{} => {}: {}!".format(modname, ex.__name__, val), file=sys.stderr)
        return None
    fo.close()
    if mtype == imp.PY_SOURCE:
        return fpath
    else:
        return None
dataset/ETHPy150Open kdart/pycopia/core/pycopia/devhelpers.py/find_from_package