📜  shutil move overwrite - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:03.449000             🧑  作者: Mango

代码示例1
# If 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))