removing directories

Martin von Loewis loewis at informatik.hu-berlin.de
Wed Dec 27 20:22:08 EST 2000


<abouf066 at aix2.uottawa.ca> writes:

> 	Is there a way to force removal of directories even if they
> contain files and/or directories. 

It depends on the operating system, but on most systems, you can't
remove a directory if that still contains files. I recommend to remove
the files first, then remove the the directory.

Regards,
Martin




More information about the Python-list mailing list