win32file.RemoveDirectory
RemoveDirectory(PathName, Transaction)
Removes an existing directory
Parameters
Comments
If a transaction handle is passed in, RemoveDirectoryTransacted will be called (requires Vista or later)Accepts keyword arguments. Implemented only as Unicode.
Win32 API References