Question: How does shutil.rmtree ( path ) differ from os . rmdir ( path ) ? Question 1 0 options: Both functions perform the same action.
How does shutil.rmtreepath differ from osrmdirpath
Question options:
Both functions perform the same action.
shutil.rmtreepath renames the folder instead of deleting it
shutil.rmtreepath only deletes files, not folders.
shutil.rmtreepath can delete nonempty folders, while osrmdirpath can only delete empty folders.
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
