b'\\u4f60\\u597d'编码问题解决

b'{"from":"en","to":"zh","trans_result":[{"src":"hello","dst":"\\u4f60\\u597d"}]}'
只需要一步 eval(b'{"from":"en","to":"zh","trans_result":[{"src":"hello","dst":"\\u4f60\\u597d"}]}')

查了半天没有解决

你可能感兴趣的:(python爬虫,机器学习)