Getting an objetcs dict?
Wojtek Walczak
gminick at bzt.bzt
Mon Sep 1 14:44:41 EDT 2008
On Mon, 1 Sep 2008 11:31:42 -0700 (PDT), ssecorp wrote:
> I did nce(I think).
>
> class X
>
> X.__dict__() and ngot a dict of its variables.
>
> Now i get errors doing this. what am i doing wrong?
You're not asking smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html
HINT: the attribute you're accessing is not a callable.
--
Regards,
Wojtek Walczak,
http://tosh.pl/gminick/
More information about the Python-list
mailing list