会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
垄上行
博客园
首页
新随笔
联系
管理
2018年9月21日
openpyxl 实现excel字母列号与数字列号之间的转换
摘要: from openpyxl.utils import get_column_letter, column_index_from_string # 根据列的数字返回字母 print(get_column_letter(2)) # B # 根据字母返回列的数字 print(column_index_from_string('D')) # 4 --------------------- 本文...
阅读全文
posted @ 2018-09-21 14:39 垄上行
阅读(8404)
评论(0)
推荐(1)
编辑
公告