python存入mysql报错

我爬取考研单词时,向mysql存入例句,发现英文字符'不能存入

1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'll have an opportunity to fire off questions at the end of the lecture.

 

把代码贴到 代码框里