actio_python_utils.argparse_functions.file_exists

actio_python_utils.argparse_functions.file_exists(fn)[source]

Returns the real path to file fn if it exists

Parameters:

fn (str) – The file name to check

Raises:

OSError – If fn doesn’t exist

Return type:

str

Returns:

The real path to fn