TypeError: expected string or bytes-like object

  记录下编写代码过程中遇到的错误原因;

正则匹配findall函数返回的是列表,匹配对象也应为str

借帖百度经验;

https://jingyan.baidu.com/article/e52e36151355de40c60c51b5.html

posted @ 2018-12-11 10:18  飞哥霸气  阅读(2034)  评论(0编辑  收藏  举报