Attached script shows how to run calculations for a range of strained silicon lattices. The looping is done like this:
# 10 different relative strains from 0.95 to 1.05
x = numpy.linspace(0.95, 1.05, 11)
# loop over strains and do calculation
for strain in x:
    # output file for calculation with this strain
    out = 'name_%f.hdf5' % strain
    # -------------------------------------------------------------
    # Bulk Configuration
    # -------------------------------------------------------------
    # Set up lattice
    lattice = FaceCenteredCubic(5.4306*Angstrom * strain)
Note that the script saves data in HDF5 format, as introduced with ATK 2017. Change to NC if you use ATK 2016 or older.