[New-bugs-announce] [issue32247] shutil-copytree: Create dst folder only if it doesn't exist

Radostin report at bugs.python.org
Thu Dec 7 15:56:56 EST 2017


New submission from Radostin <rstoyanov1 at gmail.com>:

shutil.copytree method always tries to create the destination directory which raises the error message "OSError: [Errno 17] File exists".

This issue has been discussed here:
https://stackoverflow.com/questions/1868714/how-do-i-copy-an-entire-directory-of-files-into-an-existing-directory-using-pyth

----------
messages: 307823
nosy: rst0py
priority: normal
pull_requests: 4655
severity: normal
status: open
title: shutil-copytree: Create dst folder only if it doesn't exist
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32247>
_______________________________________


More information about the New-bugs-announce mailing list