Question: What is the difference between shutil.copy ( ) and shutil.copytree ( ) ? Question 9 options: shutil.copy ( ) copies a single file, while shutil.copytree

What is the difference between shutil.copy() and shutil.copytree()?
Question 9 options:
shutil.copy() copies a single file, while shutil.copytree() copies an entire directory.
shutil.copy() and shutil.copytree() both copy single files.
shutil.copy() copies an entire directory, while shutil.copytree() copies a single file.
There is no difference between shutil.copy() and shutil.copytree().

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!