exists

ssapy.io.exists(pathname)[source][source]

Check if a file or directory exists.

Parameters:

pathnamestr

The path to the file or directory.

Returns:

bool

True if the path exists as either a file or a directory, False otherwise.