Python Programming - Reading and Writing Files - Discussion
Discussion Forum : Reading and Writing Files - General Questions (Q.No. 4)
4.
How can you close a file in Python after performing operations on it?
Answer: Option
Explanation:
To close a file in Python, you should use the
close()
method on the file object.
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