>>self.uploadImage(obj=self.i.filename%d %(f) >Hugh, what strange expression is that? It's an... home-made expression designed to meet a personal need. >It is parsed as >(self.i.filename % d) % f >What you probably want is >getattr(self.i, 'filename%d' % f) getattr is what I want. I realised later that this problem was similar that the one you already fixed... Thanks a lot, Yannick