I need to loop over a number of files with structured files names.
They are of the form 'Mar00.sav', 'Sep00.sav', 'Mar01.sav'
At the moment I do this;
Years = ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17']
Which works but I was wondering if there is a better way?
I tried range but str(range(00,17)) will drop the leading zeros...