参考了https://blog.csdn.net/wyb199026/article/details/78730097,写了个这样的listener
# listen.py
class RobotListener:
ROBOT_LISTENER_API_VERSION = 2
def myprint(self, data):
if type(data)==unicode:
print data.encode("utf-8")
else:
print data
<


4620

被折叠的 条评论
为什么被折叠?



