* 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
11 lines
327 B
Python
Executable file
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))
|