從零開始學網絡爬蟲之數據區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
相關文章
相關標籤/搜索