Marco Nie - string <-> byte in python 的评论 https://blog.niekun.net/archives/1688.html To transform a unicode string to a byte string in Python do this:>>> 'foo'.encode('utf_8...