摘要: import requests import xlwt from bs4 import BeautifulSoup from threading import Thread # 725 1160 def main(): workbook = xlwt.Workbook() sheet1 = workbook.add_sheet('test', cell_overwrite_ok=... 阅读全文
posted @ 2018-12-10 17:30 Corey0606 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 注意:sqlite3在execute("sql语句") sqlite3只支持?,:=占位符 不支持%s 但是sql语句作为变量execute(sql)里只可以用%s作占位符,等号的另一遍要加a = 'b' 模糊查询 sql语句like用法 显示结果为'%字段%', 上述查询结果为关键词里包含字段的 阅读全文
posted @ 2018-12-10 17:24 Corey0606 阅读(478) 评论(0) 推荐(0) 编辑