
openpyxl
weixin_39662684
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
openpyxl用法总结
1.字母列号和数字列号的转换from openpyxl.utils import get_column_letter, column_index_from_stringprint(get_column_letter(1)) #Aprint(column_index_from_string(‘B’)) #2原创 2020-10-27 10:47:15 · 342 阅读 · 0 评论 -
openpyxl删除sheet
在使用openpyxl创建excel时,有时会需要将不需要的sheet删除掉,有一下两种办法:一:del wb[“sheet_name”]二:ws = wb[“sheet_name”]wb.remove[ws]原创 2020-03-12 10:29:13 · 19442 阅读 · 1 评论