mutapath.Path.removedirs_p

Path.removedirs_p()[source]

Like removedirs(), but does not raise an exception if the directory is not empty or does not exist.