def main(self):
        """
        Runs through the full screenshot process.
        """

        print """
Whippersnapper is running. To view its log file:

    tail -f %s

To quit, press ^C (ctrl-C).""" % (self.log_file)

        while True:
            targets = self.screenshotter.take_screenshots()
            if hasattr(self, 'uploader'):
                self.uploader.upload_screenshots(targets)
                # TODO Image delete code probably doesn't belong here
                if (self.config.get('delete_local_images')):
                    [os.remove(path.get('local_filepath')) for path in targets]
            time.sleep(self.config.get('time_between_screenshots'))
dataset/ETHPy150Open washingtonpost/whippersnapper/whippersnapper/whippersnapper.py/WhipperSnapper.main/original