Colin J. Williams wrote:
> [EMAIL PROTECTED] wrote:
> > Bruno Desthuilliers wrote:
> >
> >>[EMAIL PROTECTED] a écrit :
> >>
> >>>Is there a function/class/module/whatever I can use to
> >>>look at objects? I want something that will print the object's
> >>>value (if any) in pretty-printed form, an
[EMAIL PROTECTED] wrote:
> Bruno Desthuilliers wrote:
>
>>[EMAIL PROTECTED] a écrit :
>>
>>>Is there a function/class/module/whatever I can use to
>>>look at objects? I want something that will print the object's
>>>value (if any) in pretty-printed form, and list all it's attributes
>>>and their
Bruno Desthuilliers wrote:
> [EMAIL PROTECTED] a écrit :
> > Is there a function/class/module/whatever I can use to
> > look at objects? I want something that will print the object's
> > value (if any) in pretty-printed form, and list all it's attributes
> > and their values. And do all that rec
Bruno Desthuilliers wrote:
> [EMAIL PROTECTED] a écrit :
> > Is there a function/class/module/whatever I can use to
> > look at objects? I want something that will print the object's
> > value (if any) in pretty-printed form, and list all it's attributes
> > and their values. And do all that rec
[EMAIL PROTECTED] a écrit :
> Is there a function/class/module/whatever I can use to
> look at objects? I want something that will print the object's
> value (if any) in pretty-printed form, and list all it's attributes
> and their values. And do all that recursively.
> I want to be able to find
"Chris Mellon" <[EMAIL PROTECTED]> wrote:
On 18 Nov 2005 14:05:05 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> -- snip --
> > Writing my own __repr__() is emphatically what I don't
> > want to do! That is no better than debugging by inserting
> > print statements, a technique from the 198
On 18 Nov 2005 14:05:05 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> __repr__ almost always only prints a summary of it's
> object, not the detailed internal structure that I want to
> see. When it prints values, that are not pretty-printed,
> nor are the objects that constitute the value
__repr__ almost always only prints a summary of it's
object, not the detailed internal structure that I want to
see. When it prints values, that are not pretty-printed,
nor are the objects that constitute the value printed
recursively.
Writing my own __repr__() is emphatically what I don't
want t
[EMAIL PROTECTED] wrote:
> Is there a function/class/module/whatever I can use to look at
> objects?
The repr() function is what you want.
> I want something that will print the object's value (if any) in
> pretty-printed form, and list all it's attributes and their values.
> And do all that recu
Is there a function/class/module/whatever I can use to
look at objects? I want something that will print the object's
value (if any) in pretty-printed form, and list all it's attributes
and their values. And do all that recursively.
I want to be able to find out everything about an object that
Py
10 matches
Mail list logo