Browse Source

I've included an exit function with thank you message using pyfiglet

pull/17/head
kiNgSresh 5 years ago
parent
commit
0424247b97
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/batsay.py

+ 4
- 1
src/batsay.py View File

@ -1,6 +1,6 @@
import roosay
import sys
import pyfiglet
def main():
"""
checks for command line arguments
@ -45,3 +45,6 @@ def print_bat():
if __name__ == '__main__':
main()
def thanks_and_exit():
print(pyfiglet.figlet_format('Thank you',font='slant'))
sys.exit()

Loading…
Cancel
Save