The previous code used path.join() to construct glob input. That should't work, but it did as long as the working directory was under c:\Users.
The previous code used path.join() to construct glob input. That should't work, but it did as long as the working directory was under c:\Users.