import shutil
shutil.rmtree(path)