I have the code
for iline, line in enumerate(lines): ... if :
I would like, as you c
As Padraic Cunningham states, you can do this with a while loop, you can also use a dictionary to replace the if-statement:
iline = 0 skip = {True:5, False:1} while iline > len(lines): line = lines[iline] ... iline += skip[condition]