python mysql入库的时候字符转义

报错:

解决方案:

pymysql.escape_string(item['content'])

  

posted @ 2018-11-14 16:54  那时的吻狠陶醉  阅读(988)  评论(0编辑  收藏  举报