- 博客(2)
- 收藏
- 关注
原创 sql使用手册
todo:sql 食用手册 ------> From Albert 注意:不同数据库,关键字和语句会不一样,若不能运行,可单独百度‘xxx数据库 xxx关键字’ import time import sqlite3 db_path = r’C:\Users\86131\Desktop\ndhd_cw_001.db’ conn = sqlite3.connect(db_path) c = conn.cursor() 1.select:查询 (1)查询某列 c.execute(‘sel...
2020-11-22 11:15:00
4054
18
原创 python-xlrd使用手册
文 todo:xlrd食用手册 ------> From Albert import xlrd ‘’’ excel单元格中的数据类型: {0:‘empty(空的)’, 1:‘string(text)’ , 2:‘number’, 3:‘date’, 4:‘boolean’, 5:‘error’, 6:‘blank(空白表格)’} ‘’’ 1.打开excel: path = r’C:\Users\86131\Desktop\xlrd_test.xlsx’ wb = xlrd.open_workbook
2020-11-13 18:06:28
3569
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人