[pygtk] pygtk console

Nicolas rougier Nicolas.Rougier at loria.fr
Sat Dec 16 00:11:50 WST 2006


Thanks, it's been corrected and updated. Yep, completion would be nice.
My initial idea was to embed an ipython shell within the console but I
did not find an easy way.

Nicolas

On Fri, 2006-12-15 at 11:23 -0200, Johan Dahlin wrote:
> Nicolas Rougier wrote:
> > Hi all,
> > 
> > 
> > Based on the GTK console bundled with The Gimp I developed a
> > pygtk console that might be of some interest for some of you.
> > The code is available at:
> > http://www.loria.fr/~rougier/pub/Software/pycons.py
> > 
> 
> Looks quite nice.
> 
> I found a few errors in it though:
> 
> $ pyflakes pycons.py
> pycons.py:173: undefined name 'history'
> pycons.py:526: undefined name 'get_iter_at_offset'
> pycons.py:533: undefined name 'get_iter_at_offset'
> 
> The last two can easily be triggered by pressing home.
> 
> Tab-completion would be nice too *wink* ;-)
> 



More information about the pygtk mailing list