You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When dest exists, shutil.move calls shutil.copytree, calls os.makedirs, call os.mkdir(dest), which throws an error. This is on Windows, but it's in keeping with the docs for move, copytree and makedirs. The problem shows up on Windows because on other platforms shutil.move usually manages to use os.rename to implement the move. When src and dest are on different filesystems you'd probably get the same issue.
The text was updated successfully, but these errors were encountered:
When dest exists, shutil.move calls shutil.copytree, calls os.makedirs, call os.mkdir(dest), which throws an error. This is on Windows, but it's in keeping with the docs for move, copytree and makedirs. The problem shows up on Windows because on other platforms shutil.move usually manages to use os.rename to implement the move. When src and dest are on different filesystems you'd probably get the same issue.
The text was updated successfully, but these errors were encountered: