Hi Bruno, On 4/16/24 8:09 AM, Bruno Haible wrote: > I'm talking about this piece of code: > > filetable = [] > for src in filelist: > dest = self.rewrite_files([src])[-1] > filetable.append(tuple([dest, src])) > > which can be written as > > filetable = [ tuple([self.rewrite_filename(src), src]) > for src in filelist ]
Ah, okay now I see what you mean. I'll have a look at doing something like that. Thanks! Collin