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