Python Programming - Reading and Writing Files - Discussion
Discussion Forum : Reading and Writing Files - General Questions (Q.No. 44)
44.
How can you copy a file named "source.txt" to a new location and rename it as "destination.txt"?
Answer: Option
Explanation:
Using
shutil.copy()
to copy and rename a file.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers