title: Displaying Pretty Python Code in Python (or Other) GUI
body: <p>I'm starting a simple little GUI for grading my student's python source code.  Is there an easy way to automatically format display of the python code within a GUI?  For example, pulling the color formatting from some editor?   </p>
  
  <p>I've started with Python tkk (just for a little extra python practice, I teach it but don't use it much) but I have no objections switching languages if it is easier in this aspect.  </p>
  
  <p>The output will a webpage with all the grades etc, but will show the python code using Google Prettify (unless someone has a better suggestion), so I don't need to keep the color scheme, just want it displayed to make grading easier.</p>
  
  <p>Many thanks!</p>