Ilias Lazaridis wrote: > 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.
I'm sure its quite unpopular to agree with you, but I do. I am tremendously annoyed the format of the interactive interpreter. Lovely would be output as you describe, but with the option, when selecting for copy-paste, to include the prompts and/or your suggested whitespace margin (e.g. select in doctest mode). James -- http://mail.python.org/mailman/listinfo/python-list