blob: 30deea8c895afeec8529bac0f35b7eed6098ffb2 [file] [log] [blame]
Caroline Tice88272d42016-01-13 09:48:29 -08001#!/usr/bin/python2
asharif3c6b93b2013-02-15 05:21:03 +00002#
3# Copyright 2010 Google Inc. All Rights Reserved.
Luis Lozanof2a3ef42015-12-15 13:49:30 -08004"""This simulates a real job by producing a lot of output.
asharif3c6b93b2013-02-15 05:21:03 +00005
6"""
7
Caroline Tice88272d42016-01-13 09:48:29 -08008from __future__ import print_function
9
Luis Lozanof2a3ef42015-12-15 13:49:30 -080010__author__ = 'asharif@google.com (Ahmad Sharif)'
asharif3c6b93b2013-02-15 05:21:03 +000011
asharif3c6b93b2013-02-15 05:21:03 +000012import time
asharif3c6b93b2013-02-15 05:21:03 +000013
14
Caroline Tice88272d42016-01-13 09:48:29 -080015def Main():
asharif3c6b93b2013-02-15 05:21:03 +000016 """The main function."""
asharif3c6b93b2013-02-15 05:21:03 +000017
18 for j in range(10):
19 for i in range(10000):
Caroline Tice88272d42016-01-13 09:48:29 -080020 print(str(j) + 'The quick brown fox jumped over the lazy dog.' + str(i))
asharif3c6b93b2013-02-15 05:21:03 +000021 time.sleep(60)
22
23 return 0
24
25
Luis Lozanof2a3ef42015-12-15 13:49:30 -080026if __name__ == '__main__':
Caroline Tice88272d42016-01-13 09:48:29 -080027 Main()