Val Bykoski wrote: > tot=tot + ("L%s" % L) Here you seem to miss an exec - the line should probably read like this: tot = tot + exec("L%s" % L) -- Regards, Diez B. Roggisch