Objective
The program runs inside a folder that already contains the files of the test case. shutil.copytree(source, target) copies a whole folder with all its content into a new folder (which must not exist yet).
Instructions
- The current folder contains a folder called
datos. Make a full copy into a new folder calledcopia. - Show
Files copied: nwith the number of files in the copy.
Example. With datos/a.txt and datos/sub/b.txt, copia/a.txt and copia/sub/b.txt are created and it shows Files copied: 2.
Files copied: 2
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise