CodePad is a light-weight editor with many features built on top of Python.