dir

Manipulation of directories and/or file paths.

Change directories

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_dat(*subdir[, dat_dir, mkdir])

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

Validate directories

is_dir(path_to_dir)

Check whether path_to_dir is a directory name.

validate_dir([path_to_dir, subdir, msg])

Validate the pathname of a directory.

Delete directories

delete_dir(path_to_dir[, ...])

Delete a directory.