shutil

shutil offers high-level file and directory operations such as copy, move, delete, and archive. As a complement to os, it is ideal for automation tasks requiring batch file processing, like log cleanup or data backup.

Resource Introduction