the wildcards are handled by by the iglob()
python function on the 8th line in your code dump above. iglob()
will expand any wildcards to a list of the files and folders that they match; above it stores the result into the sources
variable and then iterates them in the second for
loop.
1 Like