diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/pattern.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/pattern.py b/tools/pattern.py index 0367698..3d3466d 100755 --- a/tools/pattern.py +++ b/tools/pattern.py @@ -1,10 +1,12 @@ #!/usr/bin/env python +import sys + def main(): i=0 max=pow(10,15) while True: - print "%015d"%i, + sys.stdout.write("%015d\n"%i) i=(i+1)%max |