Jacob Tomlinson 2/16/2014

Python script: Recursively remove empty folders/directories

Read Original

This article presents a Python utility script that recursively scans a given directory path and removes all empty folders. It explains the script's features, including the ability to run standalone or be imported, and the option to preserve or delete the specified root folder. The full script code and usage examples are provided.

Python script: Recursively remove empty folders/directories

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week