Lines Matching refs:open
12 from a disk file or from an open file, and similar for its output.
50 To open a file for reading or writing through a conversion pipeline:
51 fp = t.open(file, mode)
53 for the built-in function open() or for os.popen().
152 def open(self, file, rw):
153 """t.open(file, rw) returns a pipe or file object open for
160 'Template.open: rw must be \'r\' or \'w\', not %r' % (rw,)
164 t.open(file, 'r') and t.open(file, 'w') respectively."""
166 return open(file, 'r')
175 return open(file, 'w')