150 speak easily get Python web crawler - Chapter 4: Data storage

Direct study: HTTPS: //edu.csdn.net/course/play/24756/280730
MySQL database - database update operations
syntax: update [table name] update [conditions]

sql  =" update  article set title ='钢铁是怎么炼成的'where  id = 4"
cursor.execute(sql)
Published 67 original articles · won praise 1 · views 753

Guess you like

Origin blog.csdn.net/weixin_43597208/article/details/105322788