getattr/setattr q.

Paulo da Silva psdasilvaX at esotericaX.ptX
Tue Apr 3 11:32:22 EDT 2007


7stud escreveu:
> On Apr 2, 10:08 pm, Paulo da Silva <psdasil... at esotericaX.ptX> wrote:
>> Is it possible to use getattr/setattr for variables not inside
>> classes...?
> 
> What does the python documentation say about the definition of
> setattr()?
> 
I didn't read the full python documentation, yet! I hope to survive
until then :-)
In the meanwhile, I searched google for setattr python but all
references I could see were about X.foo type.

One more "RTFM culture" response ...

Thanks.
Paulo




More information about the Python-list mailing list