aboutsummaryrefslogtreecommitdiff
path: root/ponystorm.py
diff options
context:
space:
mode:
Diffstat (limited to 'ponystorm.py')
-rwxr-xr-xponystorm.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/ponystorm.py b/ponystorm.py
new file mode 100755
index 0000000..dd93b42
--- /dev/null
+++ b/ponystorm.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+import random
+import ponysay
+
+for i in range(0, 1000):
+ pony = random.choice(ponysay.list_ponies_with_quotes())
+ print(ponysay.render_pony(pony, ponysay.random_quote(pony),
+ balloonstyle=ponysay.balloonstyles['cowsay'],
+ width=ponysay.termwidth,
+ center=True,
+ centertext=False))