Are there any python modules that I could use with google app engine that take a string of code like this:
<pre>
a = 1
while a < 10:
print a
a += 1
</pre>
and then color the text like a basic python editor would (or like stack overflow)?
This would be highlighting the stuff inside the pre tag and would be displayed online.
You’re looking for Pygments.