AttributeError: 'str' object has no attribute '__buffer__'

 

 

 出现如上错误的原因是:

 

 解决办法:找到'hello world',在前面加b,即是b'hello world',

 

 

参考:https://blog.csdn.net/jing16337305/article/details/80351460

 

posted @ 2020-07-08 08:51  诗和远方*  阅读(1252)  评论(0编辑  收藏  举报