IDLE - Customizing output format

Ilias Lazaridis ilias at lazaridis.com
Sun Sep 24 21:29:19 CEST 2006


Ilias Lazaridis wrote:
> IDLE has an output format like this:
>
>  >>> object
> <type 'object'>
>  >>> type
> <type 'type'>
>  >>> object.__class__
> <type 'type'>
>  >>> object.__bases__
>
> How can I customize it to become like that:
>
>  >>> object
>      <type 'object'>
>  >>> type
>      <type 'type'>
>  >>> object.__class__
>      <type 'type'>
>  >>> object.__bases__
>
> or that:
>
>  >>> object
>    : <type 'object'>
>  >>> type
>    : <type 'type'>
>  >>> object.__class__
>    : <type 'type'>
>  >>> object.__bases__
>
> (preferably without modifying code)

I assume this is not possible.

I am wondering that other users are not annoyed by this reduced
readability.

anyway.

.

> -- 
> http://lazaridis.com




More information about the Python-list mailing list