Summary for myself Updated from time to time
** I just need to know myself, so the terms may be wrong in some places **
!! View
#command
#Argument option description
This is also a directory operation like os.path
import shutil
#Copy folder
shutil.copytree()
#Copy the folder of the first argument to the path of the second argument with the contents
#If the folder of the second argument exists, it cannot be copied.
#It doesn't matter if the folder is deleted or not.
shutil.rmtree()
#Delete the argument folder.
Recommended Posts