pyufunc.check_file_existence#
- pyufunc.check_file_existence(filename)#
Validate the filename, if the file exists, return True, otherwise False.
- Location:
pyufunc/util_pathio/_path.py
See also
check_filename
- Parameters:
filename (str | Path) – the filename to be validated
- Returns:
True if the file exists, otherwise False
- Return type:
Examples
>>> import pyufunc as uf >>> uf.check_filename('./test.txt') False