On Tue, Feb 26, 2002 at 01:57:37AM -0800, Andrew P. Lentvorski wrote: > Is there any equivalent to IDLE, but using PyGtk bindings rather than Tk? > > I have a real need for the equivalent of the interactive window in IDLE, > but my applcation is PyGtk based. > > Any suggestions (especially concerning linking GtkText to > InteractiveConsole) would also be appreciated.
I've never used IDLE, but if you're just after a PyGtk window where you can type Python commands, that's not too hard. In fact, I've got a tidbit of code that does just that. See <www.duckbrain.com/interpreter.py>. You can add code at the beginning to import your program's modules and it will have access to those. I've found it handy. It shouldn't be hard to improve it either. Feel free to use it for whatever you want. If this is not what you're after, please proceed to ignore this email... (although I would like to know what else IDLE can do if it does more than that) Mike Benfield _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk
