import xlwt
# 创建工作簿
wb = xlwt.Workbook()
# 创建工作表
ws = wb.add_sheet('CNY')
ws.write_merge(0, 1, 0, 5, '2019cny')
wb.save(...
4年前 (2021-08-24)
喜欢
data = xlrd.open_workbook('name.xlsx')
sheet = data.sheet_by_index(0)
print(sheet.ncols)
print(sheet.col(0)) #列对象组成的列表
print(sheet.c...
4年前 (2021-08-24)
喜欢
data = xlrd.open_workbook('name.xlsx')
sheet = data.sheet_by_index(0)
print(sheet.col_types(0)) #返回该列所有单元格类型
...
4年前 (2021-08-23)
喜欢
index自动累加,超过list长度index则归零
getactive() {
if (this.active < this.list.length - 1) {
this.active = this.active + 1
} else {
...
4年前 (2021-08-23)
喜欢
let routes = getCurrentPages(); // 获取当前打开过的页面路由数组
let curRoute = routes[routes.length - 1].route //获取当前页面路由
let curParam = routes[routes.len...
4年前 (2021-08-23)
喜欢
let option = {
legend: {
top: 0,
right: 20,
itemWidth: 14,
itemHeight: 14,
textSt...
4年前 (2021-08-22)
喜欢
itemWidth: 14,
itemHeight: 14,
legend: {
data: ['订单实收', '未支付金额', '运营成本', '毛利率'...
4年前 (2021-08-22)
喜欢
<img v-if="weather.text_day=='晴'" src="dist/img/tianqi/icon_qing.jpg" alt="">
...
4年前 (2021-08-22)
喜欢
import xlrd
data = xlrd.open_workbook('name.xlsx')
sheet = data.sheet_by_index(0)
print(sheet.nrows)
print(sheet.row(1))
print(shee...
4年前 (2021-08-21)
喜欢
获取第一个工作表
import xlrd
data = xlrd.open_workbook('name.xlsx')
sheet = data.sheet_by_index(0)
获取sheet下的有效行数
import xlrd
data = xlrd.o...
4年前 (2021-08-21)
喜欢