随笔分类 -  Python

摘要:新建一个sheet, 并用 append() 方法填充数据 from openpyxl import Workbook book = Workbook() sheet = book.active sheet.title = 'student_score' rows = [('chinese', 's 阅读全文
posted @ 2024-11-16 21:38 opencoder 阅读(7) 评论(0) 推荐(0) 编辑
摘要:参考教程地址: https://www.runoob.com/python/python-tutorial.html 常用代码总结 # 获取路径的文件名及其后缀 filename = os.path.basename(path) filename_without_ext, ext = os.path 阅读全文
posted @ 2024-11-06 12:00 opencoder 阅读(9) 评论(0) 推荐(0) 编辑

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