Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

make_path

gammapy.utils.scripts.make_path(path)[source]

Expand environment variables on Path construction.

Parameters
pathstr, pathlib.Path

path to expand