150讲轻松搞定Python网络爬虫-第四章:数据存储

直接学习:https://edu.csdn.net/course/play/24756/280730
MySQL数据库-数据库更新操作
语法:update [表名] 更新操作[条件]

sql  =" update  article set title ='钢铁是怎么炼成的'where  id = 4"
cursor.execute(sql)
发布了67 篇原创文章 · 获赞 1 · 访问量 753

猜你喜欢

转载自blog.csdn.net/weixin_43597208/article/details/105322788