TECHIES WORLD

For Techs.... Techniques.... Technologies....

LinuxPython

Copy folder and its content recursively in Python

Shutil module provides the utility to copy folder and its contents recursively.

from shutil import copyfile
copyfile(src, dst)

Here we need to replace src and dst accordingly.

 

Leave a Reply