From 5110eab4666b818d3379e0c53f74545de9b23188 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 17 Nov 2019 11:11:37 -0500 Subject: [PATCH] documentation via output --- buttond.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buttond.py b/buttond.py index d2743f7..5aaded3 100755 --- a/buttond.py +++ b/buttond.py @@ -79,3 +79,6 @@ if __name__ == '__main__': pause() except KeyboardInterrupt: print() +else: + # indicate prefered method of sleeping when laoded as a module + print('call signal.pause() instead of time.sleep()')