New submission from Radostin <rstoyan...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue32247>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to