python
白开水儿
见山翻山,遇河渡河。雨霁初晴,拨云见日。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
解决:module ‘xlrd‘ has no attribute ‘open_workbook‘的报错
xlrd版本越高能用的东西越少,伤心。pip uninstall xlrdpip install xlrd==1.1.0原创 2022-03-14 16:34:42 · 1516 阅读 · 0 评论 -
python 读、写excel文件
写excel文件from openpyxl import Workbook# 创建新execlwb = Workbook()ws1 = wb.create_sheet("Mysheet")# 激活sheetws1 = wb.activelist = [1, 2, 3]# 插入数据ws1.append(table.row_values(index))# 保存wb.save(filename="ruijin_n.xlsx")读excel文件import xlrd# 打原创 2022-03-10 14:52:54 · 629 阅读 · 0 评论 -
UnicodeDecodeError: ‘ascii‘ codec can‘t decode byte 0x90 in position 614: ordinal not in range(128)
问题截图分析需要解码的文件中包含ascii字符集之外的字符,因此无法正确解析解决问题原创 2021-10-25 08:21:21 · 599 阅读 · 0 评论
分享