rm -rf in python?

Richard Jones rjones at ekit-inc.com
Fri Nov 15 04:12:17 EST 2002


On Fri, 15 Nov 2002 4:08 pm, Chad Netzer wrote:
> On Thursday 14 November 2002 20:32, VanL wrote:
> > I suppose that I could recurse
> > down through, deleteing as I went, but it seems that there must be an
> > easier way.
>
> Nope, there isn't.  (At least, not a portable way)

shutil.rmtree


    Richard





More information about the Python-list mailing list