File objects
f = open(filename[, mode[, buffersize])
- mode can be "r", "w", "a" (like C stdio); default "r"
- append "b" for text translation mode
- append "+" for read/write open
- buffersize: 0=unbuffered; 1=line-buffered; buffered
methods:
- read([nbytes]), readline(), readlines()
- write(string), writelines(list)
- seek(pos[, how]), tell()
- fileno(), flush(), close()