Lines Matching defs:sys
9 This iterates over the lines of all files listed in sys.argv[1:],
10 defaulting to sys.stdin if the list is empty. If a filename is '-' it
11 is also replaced by sys.stdin and the optional arguments mode and
19 iff the line was read from sys.stdin. Function nextfile() closes the
36 If sys.stdin is used more than once, the second and further use will
38 explicitly reset (e.g. using sys.stdin.seek(0)).
69 import sys, os
164 Returns true if the last line was read from sys.stdin,
192 files = sys.argv[1:]
213 if (sys.flags.warn_default_encoding and
264 sys.stdout = savestdout
324 self._file = getattr(sys.stdin, 'buffer', sys.stdin)
326 self._file = sys.stdin
357 self._savestdout = sys.stdout
358 sys.stdout = self._output
430 opts, args = getopt.getopt(sys.argv[1:], "ib:")