def path_for_import(name):
    return os.path.dirname(os.path.abspath(import_module(name).__file__))
Returns the directory path for the given package or module.
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/utils/importing.py/path_for_import