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)
喜欢
import xlrd
data = xlrd.open_workbook('name.xlsx')
print(data.sheet_names())
获取所有工作表的名称
data.sheet_names()
获取所有工作表的数量
data.nshee...
4年前 (2021-08-21)
喜欢
读取xlsx文件时报错xlrd.biffh.XLRDError
最新的xlrd居然不支持Excel xlsx文件的读取。
方法一:
在调用read_excel()函数时,添加条件“engine='openpyxl'”,借助openpyxl库来读取xlsx文件。即:...
4年前 (2021-08-21)
喜欢
pip3 list
...
4年前 (2021-08-21)
喜欢
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
再重新安装依赖秒过
...
4年前 (2021-08-21)
喜欢