Probably "extensions = ['ns' + str(_) for _ in range(1, 7)] + ['nev']" is clearer