aboutsummaryrefslogtreecommitdiff
path: root/produce_output.py
blob: 30deea8c895afeec8529bac0f35b7eed6098ffb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/python2
#
# Copyright 2010 Google Inc. All Rights Reserved.
"""This simulates a real job by producing a lot of output.

"""

from __future__ import print_function

__author__ = 'asharif@google.com (Ahmad Sharif)'

import time


def Main():
  """The main function."""

  for j in range(10):
    for i in range(10000):
      print(str(j) + 'The quick brown fox jumped over the lazy dog.' + str(i))
    time.sleep(60)

  return 0


if __name__ == '__main__':
  Main()