ID EN
Shutil

move

Python 3.11

Recursively move a file or directory (src) to another location and return the destination.

Syntax

PYTHON
shutil.move(src, dst, copy_function=copy2)

See Also

os.rename() os.rename() os.rename() copytree() copy2() copy() auditing event Platform-dependent efficient copy operations