从零开始学网络爬虫之数据区MySQL

import MySQLdb conn=MySQLdb.Connect(host='localhost',user='root',passwd='') cursor =conn.cursor() cursor.execute('create database if not exists student') #conn.commit() conn.select_db('student') cur
相关文章
相关标签/搜索