copy whole directory python
import shutil
shutil.copytree(source, destination)
copy whole directory python
import shutil
shutil.copytree(source, destination)
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)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us