Python with pyfiglet: 66 using argv, 69 without
66:
from pyfiglet import* print(figlet_format(sys.argv[1],font='3x5')) 69:
from pyfiglet import* print(figlet_format('Hello-World!',font='3x5')) firs must be called as, for example:
python asciiart.py -'Hello'Hello-World!'
second:
python asciiart.py.
Output:
# # # # # # # # # # # ### # # ### # # ### ### # ### # ### ### ## # # # # ### ### # # # # # # # # # ### ## ## ### ### ### # ## ### # # # # # (Well, it looks kinda crappy with this font. Nevertheless :) )
[edit] removed obsolete dash from the argument.