<human>:  Delete a file or folder
<bot>: Here is some code to recursively delete all contents in directory `path`

shutil.rmtree(path, ignore_errors=False, onerror=None)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.