Interactive gtk console. Fixed (I think)

Hi all,

thanks to Antoon Pardon from the pygtk mailing list, I now have what appears to be a fully working interactive python console for gtk/matplotlib usage, which does NOT lock up when things like os.system('gv foo.eps &') are emitted.

I've attached it here, and it would be great if people could take it for a spin and let me know how it works. Just make it executable and run

./pyint-gtk.py -mplot

and it preloads matplotlib for you, honoring your .matplotlibrc settings (except that it forces matplotlib to interactive mode).

If this resists a few days of testing, I'll port the mods Anton made to the real ipython.

Best regards,

f.

ps. John, I think we almost have this nailed :slight_smile:

pyint-gtk.py (7.56 KB)