get_pkg_data_path#
- astropy.utils.data.get_pkg_data_path(*path, package=None)[source]#
Get path from source-included data directories.
- Parameters:
- Returns:
- path
str Name/location of the desired data file/directory.
- path
- Raises:
ImportErrorGiven package or module is not importable.
RuntimeErrorIf the local data file is outside of the package’s tree.