14 Sep
1999
14 Sep
'99
1:59 p.m.
Tony McDonald wrote: [snippage]
template_str = eval("self.RENDER.%s.read_raw()" % tagclass)
[bobbit] This will certainly work, but here's a non-eval solution (I really dislike exec-ing and eval-ing): template_str = getattr(self.RENDER, tagclass).read_raw()