Is there any method can copy files and sub directories from one directory to another directory in pytho3.6?

Viewed 19

I want to copy files and sub directories from one directory to another directory. I tried copy, copyfile, copytree in shutil, but it always raise "permission error" when it comes to sub directories. Is there any simple method in python 3.6.8 to make this operation simple? I mean copy, make sub directory in one method. thanks!

0 Answers
Related