Doug Schwarz wrote: > Dave, > > I think eval might be what you're looking for: > > f = eval('len') > length = f([1,2,3]) But only if the string given to eval is checked thorougly for allowed contents. Better use getattr. Reinhold