flox <la...@yahoo.fr> added the comment: Or I suggest something more verbose...
>>> print(open.__doc__) open(filename) -> file object for reading in text mode open(filename, mode=binary[, buffering]) -> file object in binary mode open(filename[, mode=text][, buffering][,encoding][,errors][,newline]) -> file object in text mode open(file_descriptor[, ...][, closefd]) -> file object Open file and return a stream. Raise IOError upon failure. filename is either a text or byte string giving the name (and the path if the file isn't in the current working directory) of the file to be opened. file_descriptor is an integer file descriptor of the file to be wrapped. The file descriptor is closed when the returned I/O object is closed, unless closefd is set to False.) mode is an optional string that specifies the mode in which the file is opened... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7417> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com