Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 43)
43.
What does the shutil.rmtree() function do?
Removes a file
Removes a directory and its contents
Renames a file
Copies a directory
Answer: Option
Explanation:
shutil.rmtree() removes 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.