navigate.tools.file_functions.delete_folder
- navigate.tools.file_functions.delete_folder(top: str) → None
Delete folder and all sub-folders.
https://docs.python.org/3/library/os.html#os.walk
Delete everything reachable from the directory named in “top”, assuming there are no symbolic links. CAUTION: This is dangerous! For example, if top == ‘/’, it could delete all your disk files.
- Parameters:
top (str) – Path to folder to delete.