ponysay/ponystorm.py
jaseg b2cee466b1 Made it installable. Also: Fixes!
* Added a Makefile for installing/uninstalling
 * Made it center one-line texts within speech bubbles
 * Made it importable
 * Added a funny test script
 * Added proper *think support
 * Fixed chrysalis' quotes file
 * Fixed a bug wrongly cropping the output
2013-04-01 01:51:53 +02:00

11 lines
327 B
Python
Executable file

#!/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))