message_ix_models.tools.iea.web.dir_fallback

message_ix_models.tools.iea.web.dir_fallback(*parts, **kwargs) Path[source]

Return path to the directory that contains a particular file.

If the last of parts is a string with path separators (for instance “a/b/c”), this function returns a parent of the path returned by path_fallback(), in which this part is located.