UnicodeDecodeError when performing os.walk
Right I just spent some time sorting through this error, and wordier answers here aren’t getting at the underlying issue: The problem is, if you pass a unicode string into os.walk(), then os.walk starts getting unicode back from os.listdir() and tries to keep it as ASCII (hence ‘ascii’ decode error). When it hits a unicode … Read more