how to copy folders in pyhton code example Example: python copy dir from shutil import copytree shutil.copytree("sourcedir", "destination")