Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 68)
68.
What does the shutil.copy2() function do?
Copies a file and preserves its metadata
Copies a file and renames it
Moves a file to a different directory
Copies a directory and its contents
Answer: Option
Explanation:
shutil.copy2() copies a file and preserves its metadata.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.