In my Python program i heavily use os
and shutil
modules for file/directory operations. I wrote many utility functions to generalize patterns, like removing all files inside a folder, temporarily change working directory, split path into fragments, recursive glob, remove all files matching regex, etc.
Is there any library for Python which has a multitude of such high-level file/directory utility functions, possibly built on top of os
and shutil
modules, so i can write less boilerplate?