In Python, and in general - does a close() operation on a file object imply a flush() operation?
close()
flush()
Yes. It uses the underlying close() function which does that for you (source).
1.4m articles
1.4m replys
5 comments
57.0k users