dirs

Manipulation of directories and/or file paths.

Directory navigation

cd(*subdir[, mkdir, cwd, back_check])

Get the full pathname of a directory (or file).

go_from_altered_cwd(dir_name, **kwargs)

Get the full pathname of an altered working directory.

cdd(*subdir[, data_dir, mkdir])

Get the full pathname of a directory (or file) under data_dir.

cd_data(*subdir[, data_dir, mkdir])

Get the full pathname of a directory (or file) under dat_dir of a package.

Directory validation

is_dir(path_to_dir)

Check whether a directory-like string is a directory name.

validate_dir([path_to_dir, subdir, msg])

Validate the pathname of a directory.

Directory removal

delete_dir(path_to_dir[, ...])

Delete a directory or directories.