how to use python glob module

Solutions on MaxInterview for how to use python glob module by the best coders in the world

showing results for - "how to use python glob module"
Lara
12 Jan 2021
1
2import glob
3# path of the current directory
4path = '.'
5curfiles = glob.glob(path + '/*.html')
6for file in curfiles:
7    print(file)
8    
9