Just came across Better Python Console – which is a plugin for Gedit, the main text editor in Ubuntu. Think of it as being like IDLE. I use Eclipse with PyDev and the PyDev extension for heavy development and the console for anything quick and dirty.
Get the plugin, plus some basic info, here –
Remember, to work successfully, the betterpythonconsole needs the plugin file (“betterpythonconsole.gedit-plugin”) copied into the /usr/lib/gedit-2/plugins folder. The betterpythonconsole folder (containing 4 or so scripts only) needs to be there as well.