1 2 3 4 5 6 7 8
#!/usr/bin/env python2 import sys import pygments.cmdline try: sys.exit(pygments.cmdline.main(sys.argv)) except KeyboardInterrupt: sys.exit(1)