ID EN
Shutil

SameFileError

Python 3.11

This exception is raised if source and destination in copyfile() are the same file.

Syntax

PYTHON
exception shutil.SameFileError

See Also

copyfile()