def step(self):
        if self.step_counter == 0 and not config.tty:
            print 'Loading.',

        if config.tty:
            self.progress()
        else:
            sys.stdout.write('.')
            sys.stdout.flush()

        self.step_counter += 1
dataset/ETHPy150Open oarrabi/xserverpy/xserverpy/utils/porgress.py/Progress.step/original