python mysql入库的时候字符转义

报错:

解决方案:

pymysql.escape_string(item['content'])

  

原文地址:https://www.cnblogs.com/fh-fendou/p/9958879.html