![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python文件处理
竹篱外的小黄
这个作者很懒,什么都没留下…
展开
-
pycharm分屏设置
原创 2021-06-23 01:26:34 · 1252 阅读 · 0 评论 -
pyhon3 excel文件处理大全之openpyxl
安装模块 file–>setting–>project interpreter–>+ -->搜索栏输入openpyxl–>install 例1:创建一个excel 文件,并写入不同类的内容 -- coding: utf-8 -- import locale from openpyxl import Workbook wb = Workbook() #创建文件对象 #获取第一个sheet ws = wb.active 将数据写入到指定的单元格 ws[‘A1’] = 4原创 2020-06-08 10:25:20 · 350 阅读 · 0 评论