how to copy folders in python to another folder code example Example: copy whole directory python import shutil shutil.copytree(source, destination)