copy one folder with subdir to other folder python code example
Example: copy directory from one location to another python
# Source path
src = 'C:/Users / Rajnish / Desktop / GeeksforGeeks / source'
# Destination path
dest = 'C:/Users / Rajnish / Desktop / GeeksforGeeks / destination'
# Copy the content of
# source to destination
destination = shutil.copytree(src, dest)