The glob module finds all the pathnames matching a specified pattern according to the rules used by the Unix shell.
glob.glob('./[0-9].*') # ['./1.gif', './2.txt']
glob.glob('*.gif') # ['1.gif', 'card.gif']
glob.glob('?.gif') # ['1.gif']
index
