On Tue, 26 Feb 2002, Graham Ashton wrote:
> Have you seen the stuff in the pygtk/examples/ide directory in the source?

On Tue, 26 Feb 2002, Michael Benfield wrote:

> 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>.

Hmmm, the solutions presented all use eval/exec type mechanisms.
Consequently, they don't deal well with multi-line statements.

However, I did get many good ideas from the code.  Once I get a clean
program in place which uses the Python InteractiveInterpreter, I'll repost
it as an example.

Thanks for all the help,
-a




_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to