views:

146

answers:

2

Which Python library for syntax highlighting is the best one? I'm interested in things like supported languages, ease of use, pythonic design, dependencies, development status, etc.

+1  A: 

I've always heard pygments as the module for syntax highlighting. I have never used it myself, tho.

Paul McGuire
It works great! I've used the lexers provided to write some code indenters.
Geo
+7  A: 

I think pygments is the greatest choice. It supports a large number of languages and it's very mature.

Geo