You can also use pygtksourceview, python bindings for the gtksourceview library. Download here: http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/ Reference: http://www.pygtk.org/pygtksourceview/index.html -- Gnurilla Developer @ http://code.google.com/p/gnurilla/