标签:like com highlight art data span key can request
发现读取下来后,运行到第9 行,出现:
can‘t use a string pattern on a bytes-like object
查找了一下,是说3.0现在的参数更改了,现在读取的是bytes-like的,但参数要求是chart-like的,找了一下,加了个编码:
data = data.decode(‘utf-8‘)
在与正则使用前,就可以正常使用了..
Python 出现 can't use a string pattern on a bytes-like object
标签:like com highlight art data span key can request
原文地址:http://www.cnblogs.com/andrewleeeeee/p/6444906.html