python copy a dir to dir code example
Example 1: copy whole directory python
import shutil
shutil.copytree(source, destination)
Example 2: python copy dir
from shutil import copytree
shutil.copytree("sourcedir", "destination")
import shutil
shutil.copytree(source, destination)
from shutil import copytree
shutil.copytree("sourcedir", "destination")