Thanks @thepythotutor and @snippsat. I hadn't even looked at "walk()" because the docs say how much more efficient scandir() is. I think I'll stick with good ol' scandir() for now.
Also, @thepythotutor, the line...
Also, @thepythotutor, the line...
yield from scanRecurse(entry.path)...is correct. I believe you said it was bugged (if that is what you meant)?