安装插件后
import openpyxl wb = openpyxl.Workbook() ws = wb.active ws.title = '数据处理' data = [' 06/24/2021 15:47:01.778', ' 5.594219e-4', ' 0.000000e+0'] ws.append(data) wb.save('111.xlsx')