Aug-10-2020, 03:39 PM
The pattern is dependent of the variables initial and final. For the initial and final that I showed before the glob sentence would be
files_list = glob.glob('*[000000-010000].txt')I know what is wrong is the pattern because [000000-010000] doesn't work as a range, but I don't know how to do it otherwise.