Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Really fancy printing on python

Tags:

python

text

Since python has way to do nearly everything I was wondering is there any API which would help me print out really fancy text to my log e.g.

#   # ####### #        #         ##########
#   # #       #        #         #        #
#   # #       #        #         #        #
##### ####    #        #         #        #
#   # #       #        #         #        #
#   # #       #        #         #        #
#   # ####### ######## ########  ##########

I have tried pprint and there is nothing in it like this.

Any tips? Thanks

like image 821
dublintech Avatar asked Feb 10 '12 11:02

dublintech


1 Answers

Here is a Python recipe that does just that: Banner.

On some systems, there also exists a banner command:

aix@aix:~$ banner HELLO
#     # ####### #       #       #######
#     # #       #       #       #     #
#     # #       #       #       #     #
####### #####   #       #       #     #
#     # #       #       #       #     #
#     # #       #       #       #     #
#     # ####### ####### ####### #######
like image 73
NPE Avatar answered Sep 29 '22 04:09

NPE