![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
司马如风
热爱生活热爱极限运动热爱你们哈哈哈哈
展开
-
excel中判断指定的单元格是否是合并单元格
data = xlrd.open_workbook(r"./demo.xlsx") # 获取sheet table = data.sheet_by_name('Vehicle RTM')下面函数为将第lie_detection列的合并单元格的开始和结束放到colspan字典中。def cell_detection(lie_detection): # 计算出合并的...原创 2019-08-23 17:44:03 · 4887 阅读 · 0 评论 -
python字典遍历的几种方法
(1)遍历key值>>> a{'a': '1', 'b': '2', 'c': '3'}>>> for key in a: print(key+':'+a[key])a:1b:2c:3>>> for key in a.keys(): print(key+':'+a[key])a:1b:2...转载 2019-08-23 14:41:00 · 720 阅读 · 0 评论 -
完美解决:You are using pip version 9.0.1, however version 18.0 is available.
You are using pip version 9.0.1, however version 18.0 is available.You should consider upgrading via the 'python -m pip install --upgrade pip' command.博主装的是anaconda,在进行装三方包的时候出现了pip需要升级的通知;使用以下...原创 2019-10-09 14:33:19 · 406 阅读 · 0 评论