copy directory from a to b, how?

tiddlerdeja at tiddlerdeja at
Mon Mar 27 12:43:44 CEST 2000

I'd like to copy a directory from c:/Inetpub/staging to

How do I do this in Python? I know that I have shutil.copytree() at my
disposal, but this requires that the destination directory doesn't
exist. I don't want to remove c:/Inetpub/wwwroot so that I can perform
the copy.

What is the best way to do this? Any help appreciated.


Sent via
Before you buy.

More information about the Python-list mailing list