(转)TypeError: cannot use a string pattern on a bytes-like object 解决办法及原理

NoSuchKey