summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/pattern.py4
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