On Nov 6, 9:53 pm, Aaron Brady <[EMAIL PROTECTED]> wrote: > Check out the InteractiveConsole and InteractiveInterpreter classes. > Derive a subclass and override the 'push' method. It's not documented > so you'll have to examine the source to find out exactly when and what > to override.
Thanks, this is the thing I was looking for: it works very nicely :-) -- http://mail.python.org/mailman/listinfo/python-list