summaryrefslogtreecommitdiff
path: root/tools/pattern.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pattern.py')
-rwxr-xr-xtools/pattern.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/pattern.py b/tools/pattern.py
new file mode 100755
index 0000000..0367698
--- /dev/null
+++ b/tools/pattern.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+def main():
+ i=0
+ max=pow(10,15)
+ while True:
+ print "%015d"%i,
+ i=(i+1)%max
+
+
+if __name__ == '__main__':
+ main()