scrapy--mysqlhelper的包的寫法

import pymysql class MysqlHelper(object): def __init__(self): self.db = pymysql.connect(host='127.0.0.1',port=3306,user = 'root',password='123456',database='py1011',charset='utf8')
相關文章
相關標籤/搜索