Python Programming - Standard Libraries - Discussion

Discussion Forum : Standard Libraries - General Questions (Q.No. 22)
22.
What does the shutil.rmtree() function do?
Removes a file
Removes a directory and its contents recursively
Renames a file
Creates a new directory
Answer: Option
Explanation:
The shutil.rmtree() function in Python is used to remove a directory and its contents recursively.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.