shutil move overwrite

Solutions on MaxInterview for shutil move overwrite by the best coders in the world

showing results for - "shutil move overwrite"
Marisa
20 Nov 2019
1# If you specify the full path to the destination (not just the directory)
2# then shutil.move will overwrite any existing file:
3shutil.move(os.path.join(src, filename), os.path.join(dst, filename))