On 2010-07-22, at 14:45 , Simon Brunning wrote: > On 22 July 2010 15:04, Bartosz Tarnowski <bartosz-tarnowski at zlotniki.pl> wrote: >> What should I do then, when the attribute is a reserver word? > > You would use elem.getattr('param'). That's what it's for. getattr(elem, 'param') I believe, rather than elem.getattr('param')