Copy files in Python The Problem How do I copy files in Python? The Solution We can do this in a few different ways using Python’s built-in shutil library.