I have a collection of binary files which have names as so:
d010-recomb.bin
d011-recomb.bin
.............
.............
.............
d100-recomb.bin
Using the python glob module, i can access all the files in a folder and can do further processing with these files:
import glob
binary = sorted(glob.glob('C:/Users/Desktop/bin/*.bin'))
I can also use some criteria for the files that I want to access:
FOr example if I use the following code then I will gain access to all the files from d010-recomb.bin to d019-recomb.bin
binary = sorted(glob.glob('C:/Users/Desktop/bin/d01*.bin'))
But using this criteria I can't get access to files such as d015 to d025.
Please tell me what I can do to gain access to these files.