Lines Matching refs:stdout
75 Accepts an extra keyword argument named `stdout` (by default use sys.stdout)
87 stdout=sys.stdout):
89 self.stdout = stdout
92 if hasattr(self.stdout, 'isatty') and self.stdout.isatty():
93 self.stdout.write('\r')
95 self.stdout.write('\n')
96 self.stdout.write(str(self))
97 self.stdout.flush()
113 stdout=sys.stdout):
114 super(ProgressWithEvents, self).__init__(start,end,width,fill,blank,marker,format,incremental,stdout)
124 isatty = hasattr(self.stdout, 'isatty') and self.stdout.isatty()
126 self.stdout.write('\r')
128 self.stdout.write('\n')
129 self.stdout.write(str(self))
132 self.stdout.write('\n')
134 self.stdout.write(str(key) + ' = ' + str(self.events[key]) + ' ')
136 self.stdout.write('\033[1A')
137 self.stdout.flush()