I installed the syntax plugin
lets see if it works
def hello(): for x in list(set(xrange(10))): yield "Hello, World!"
I added the following to my local.css for it to work.
.syntax { background-color: #dde; padding: 0.5em; border: 1px solid #ccd; } span.synStatement { color: green; } span.synIdentifier, span.synType { font-weight: bold; } span.synConstant { color: blue; }