__builtin__.file.write

file.write(str) → None. Write string str to file.

Note that due to buffering, flush() or close() may be needed before the file on disk reflects the data written.

Navigation