pencil.io.exists_file
Functions
|
Better version of exists, compared with os.path.exists! |
Module Contents
- pencil.io.exists_file.exists_file(file, folder=False)
Better version of exists, compared with os.path.exists!
- Parameters:
file – filename to look for in folder, or complete filepath string
folder – optinal, folder in which file should be
- Returns:
True if file in folder of path specified in file exists.