Lines Matching refs:open
6 f = wave.open(file, 'r')
7 where file is either the name of a file or an open file pointer.
8 The open file pointer must have methods read(), seek(), and close().
39 f = wave.open(file, 'w')
40 where file is either the name of a file or an open file pointer.
41 The open file pointer must have methods write(), tell(), seek(), and
76 __all__ = ["open", "openfp", "Error"]
99 _file -- the open file with methods read(), close(), and seek()
159 f = __builtin__.open(f, 'rb')
161 # else, assume it is an open file object already
279 _file -- the open file with methods write(), close(), tell(), seek()
303 f = __builtin__.open(f, 'wb')
491 def open(f, mode=None):
504 openfp = open # B/W compatibility