4cb426ba4935

longass script
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 19 May 2014 13:12:02 -0400
parents d38d836fda13
children 6dbb848c0675
branches/tags (none)
files bin/longass

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/longass	Mon May 19 13:12:02 2014 -0400
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+import sys
+
+if len(sys.argv) > 1:
+    n = int(sys.argv[1]) - 1
+else:
+    n = 20
+
+print r'''
+_______
+   \   \
+    \   \
+''',
+print '     |   |\n' * n,
+print r'''     |   |
+    /   /
+___/___/
+'''
+