Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 81)
81.
What is the purpose of the file.flush() method?
Flushes the internal buffer to the file
Reads the file content
Closes the file
Moves the file cursor to the beginning
Answer: Option
Explanation:
file.flush() flushes the internal buffer to the file.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.