0
Hello, I would like to copy a whole directory using python, because I have a site base ready and every time I will create a new project I have to keep moving the files to a new folder. I would do that without moving those files and rather give a Ctrl-c on them and Ctrl-v in the destination folder.
It would be possible to do this with python?
What have you tried so far ? You can show a bit of your code ?
– Lucas
No, actually I only saw a few examples here inside the stack, but I didn’t actually create anything.
– Fellype Ribeiro
Unfortunately the examples here were only to move files from within directories to another, but never an entire folder.
– Fellype Ribeiro
Read about the module shutil.
– Woss
Vlw same guy. I will try to find the solution here. Thank you!
– Fellype Ribeiro