Given the following script:
import shutil

src = "C:\test"
dest = "C:\copied_test"
shutil.copytree(src, dest)
This script works for copying the contents of C:\test to C:\copied_test. How do I have to change my script so that C:\test will be copied to C:\copied_test\test, i.e. the directory name shall be kept while copying?


View Solution