actio_python_utils.argparse_functions.dir_exists

actio_python_utils.argparse_functions.dir_exists(dirn)[source]

Returns the real path to directory dirn if it exists

Parameters:

dirn (str) – The directory name to check

Raises:

OSError – If dirn doesn’t exist

Return type:

str

Returns:

The real path to dirn