astropy:docs

is_path_hidden

astropy.utils.misc.is_path_hidden(filepath)[source] [edit on github]

Determines if a given file or directory is hidden.

Parameters:

filepath : str

The path to a file or directory

Returns:

hidden : bool

Returns True if the file is hidden

Page Contents