08 2019 档案

摘要:数据准备 准备测试数据如下: fl_path = r"C:\Users\Desktop\test.xlsx" dic = { 'num': ['001', '002', '003', '004'], 'name': ['jack', 'bob', 'alice', 'peter'], 'age': 阅读全文
posted @ 2019-08-07 11:04 cnblogs用户 阅读(12244) 评论(0) 推荐(1) 编辑
摘要:word操作 doc文件转换为docx文件 安装win32com模块:pip3 install pypiwin32 import os from win32com.client import Dispatch, DispatchEx, constants def doc_to_docx(f_path 阅读全文
posted @ 2019-08-06 09:52 cnblogs用户 阅读(7618) 评论(1) 推荐(0) 编辑
摘要:from io import StringIO import csv import pandas as pd c_path = r"C:\Users\Desktop\新建文本文档.csv" x_path = r"C:\Users\Desktop\新建文本文档.xls" # 路径中的xls文件在调用t 阅读全文
posted @ 2019-08-05 09:48 cnblogs用户 阅读(8288) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示