aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-18 17:42:36 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-18 17:42:36 +0200
commit5ff733fddac0d682a25acf8bd3f6de4339d6c9f7 (patch)
tree5f8d89ef6306f4ffaadcab022cdc71f2bedbef90 /ponysay.py
parent2ff4e42e199a1d3c42fd8dd44b131d63a58a7c13 (diff)
downloadponysay-5ff733fddac0d682a25acf8bd3f6de4339d6c9f7.tar.gz
ponysay-5ff733fddac0d682a25acf8bd3f6de4339d6c9f7.tar.bz2
ponysay-5ff733fddac0d682a25acf8bd3f6de4339d6c9f7.zip
doc
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/ponysay.py b/ponysay.py
index 92f1fac..adc1264 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -93,6 +93,10 @@ class ponysay():
else: self.print_pony(args)
+ ##
+ ## Auxiliary methods
+ ##
+
'''
Returns one .pony-file with full path, names is filter for names, also accepts filepaths
'''
@@ -165,6 +169,10 @@ class ponysay():
return rc
+ ##
+ ## Listing methods
+ ##
+
'''
Lists the available ponies
'''
@@ -296,6 +304,13 @@ class ponysay():
print(pony)
+ ##
+ ## Displaying methods
+ ##
+
+ '''
+ Print the pony with a speech or though bubble
+ '''
def print_pony(self, args):
if args.message == None:
msg = sys.stdin.read().strip()