Marvinho / InformatiCupUndCupper

0 stars 0 forks source link

shutil move komplette pfadangabe+time #12

Closed Marvinho closed 5 years ago

Marvinho commented 5 years ago

f you specify the full path to the destination (not just the directory) then shutil.move will overwrite any existing file:

shutil.move(os.path.join(src, filename), os.path.join(dst, filename))