Question: When using shutil.copy ( ) , what happens if the destination directory does not exist? Question 7 options: The function creates the directory automatically. The
When using shutil.copy what happens if the destination directory does not exist?
Question options:
The function creates the directory automatically.
The file is deleted.
The file is copied to the nearest existing directory.
An error is raised.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
