cont = 10 for c in range(cont): file = 'screenShot{:05d}.jpg'.format(c) print(file)