src.io.directories module

Directory module

Use this module to handle directories

class src.io.directories.DirectoryHandler(path: str, create: bool = True)

Bases: object

DirectoryHandler. Class used to manage directories

classmethod clear(path: str) None
property files: List[str]

Returns the list of files in the directory controlled.

Return type:

List[str]

property path: str

path of the directory managed

Returns:

the path to the directory

Return type:

str