Python Programming - Reading and Writing Files - Discussion
Discussion Forum : Reading and Writing Files - General Questions (Q.No. 18)
18.
Which method is used to check if a file object is in a valid state?
Answer: Option
Explanation:
The
closed()
method checks if a file object is in a valid state (closed or not).
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