- Python Script to delete all empty folders in the provided path.
- If there is a nested folder structure without any files then it will only deletes the folder in the "deepest" position.
v1.0
in console:
python3 .\delete_empty_folder.py C:\Users
as a python module:
import delef
delef.delef("C:\Users")