expand_path#
- expand_path(filename)[source]#
Get the full file path, including the config path if necessary.
If the input filename does not specifically include a directory, it is looked for in the default
PACKAGE_PATH.joinpath("config")directory.- Parameters:
filename (
str) – File name.- Returns:
strorpathlib.Path–filenameitself if it includes a directory, otherwise the path tofilenameinPACKAGE_PATH.joinpath("config").