Can someone explain the usage of the _
in this for loop?
for dirs,_,files in os.walk(directory):
for f in files:
yield os.path.abspath(os.path.join(dirs, f))
My goal is to get the filenames with full path recursively. I got this from another question and it does exactly what I want. But I don't understand it.