---
title: "python中删除非空目录"
author: "standalone"
date: "2009-08-25T21:08:46Z"
tags: []
slug: "python"
draft: false
lastmod: "2009-08-25T21:08:46Z"
id: 457481
url: "https://standalone.iteye.com/blog/457481"
---

import shutil

 

shutil.rmtree(dir)