On this page
article
shutil — High-Level File Ops
copy, move, rmtree, disk_usage.
Overview
copy, move, rmtree, disk_usage.
Quick Example
shutil.copy2(src, dst)
When to Use
Use this module when you need built-in support without adding third-party dependencies.
Common Tasks
- Read the official docs: docs.python.org/3/library/shutil.html
- Combine with related modules in the Cookbook
- Prefer stdlib before reaching for PyPI packages