pygmentize replicates the syntax highlighting featured here, except it is a bit more configurable: http://pygments.org/docs/cmdline/
colout -a -s Python monokai < code.py # just like pygmentize
colout "^(:*)'(:*)'(:*)$" blue,python,blue < code.py # just the code 'inside quotes', not the rest of the line