[Tutor] using os module on windows

Timmie timmichelsen at gmx-topmail.de
Wed Feb 20 16:59:43 CET 2008


Thanks for your reply!

> The destination path should not already exist, it should end with the 
> directory you want to create. Did you read the docs for copytree()? They 
> say, "The destination directory, named by dst, must not already exist; 
> it will be created as well as missing parent directories."
Which command do you recommend if the destination already exists?
I'd like to overwrite or sychronise a local with a remote directory and
therefore the destinations files already exist.

Regards,
Timmie



More information about the Tutor mailing list