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?
validate()
check()
is_valid()
closed()
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:

Your comments will be displayed after verification.