Python · Function
open
open() opens a path or file descriptor and returns a file object. Its mode chooses reading, writing, appending, text, binary, or update behavior.
Last updated
Syntax
open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
ioosos.pathtempfileshutilreadwrite