Lines Matching defs:open
57 f = aifc.open(file, 'r')
58 where file is either the name of a file or an open file pointer.
59 The open file pointer must have methods read(), seek(), and close().
90 f = aifc.open(file, 'w')
91 where file is either the name of a file or an open file pointer.
92 The open file pointer must have methods write(), tell(), seek(), and
141 __all__ = ["Error", "open"]
281 # _file -- the open file with methods read(), close(), and seek()
356 file_object = builtins.open(f, 'rb')
363 # assume it is an open file object already
552 # _file -- the open file with methods write(), close(), tell(), seek()
581 file_object = builtins.open(f, 'wb')
592 # assume it is an open file object already
947 def open(f, mode=None):
966 with open(fn, 'r') as f:
977 with open(gn, 'w') as g: