Python Programming - Reading and Writing Files - Discussion
Discussion Forum : Reading and Writing Files - General Questions (Q.No. 26)
26.
How can you append the string "new content" to an existing file named "existing_file.txt"?
Answer: Option
Explanation:
The mode "a" in
open()
is used for appending content to an existing 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