recipes.myglob(flpath, spattern)[source]¶Return a glob-like list of paths matching a regular expression
| Parameters: | flpath : str
spattern : str
|
|---|---|
| Returns: | flist : list
|
See also
globExamples
List all png/PNG files in the folder MyHolidayFun found under Documents
>>> myglob('Documents/MyHolidayFun','*.[Pp][Nn][Gg]')
['Documents/MyHolidayFun/img1.PNG','Documents/MyHolidayFun/img1.png']