File: pyfiglet

package info (click to toggle)
pyfiglet 0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 228 kB
  • ctags: 187
  • sloc: python: 1,742; makefile: 11
file content (13 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/python

from sys import stderr, exit

from pyfiglet import main, FontNotFound

try:
    main()
except FontNotFound:
    stderr.write('Font not found or not compatible. '
        'Please install the toilet-fonts or figlet package for fonts.\n'
        "Note that not all toilet's .tlf fonts are compatible.\n")
    exit(1)