On 2013-06-03 08:55, Steven D'Aprano wrote:
The sys module defines two hooks that are used in the interactive
interpreter:
* sys.displayhook(value) gets called with the result of evaluating the
line when you press ENTER;
* sys.excepthook(type, value, traceback) gets called with the details of
t
On 6/3/2013 3:55 AM, Steven D'Aprano wrote:
The sys module defines two hooks that are used in the interactive
interpreter:
* sys.displayhook(value) gets called with the result of evaluating the
line when you press ENTER;
* sys.excepthook(type, value, traceback) gets called with the details of
t
On 3 Jun 2013 09:04, "Steven D'Aprano"
wrote:
>
> The sys module defines two hooks that are used in the interactive
> interpreter:
>
> * sys.displayhook(value) gets called with the result of evaluating the
> line when you press ENTER;
>
> * sys.excepthook(type, value, traceback) gets called with t
The sys module defines two hooks that are used in the interactive
interpreter:
* sys.displayhook(value) gets called with the result of evaluating the
line when you press ENTER;
* sys.excepthook(type, value, traceback) gets called with the details of
the exception when your line raises an excep