Python Cheat Sheet 2.7
open() Opens a file, returning an object of the file type close() Closes the file; a closed file cannot be read or written any more flush() Flushes the internal buffer …
open() Opens a file, returning an object of the file type close() Closes the file; a closed file cannot be read or written any more flush() Flushes the internal buffer …