simple text editor with python (wxpython)