I have developed a plugin for GEdit which enables some refactoring functions for Python inside the editor. It is possible to see it in action or download it HERE