Workbookのインポートを修正

This commit is contained in:
suti7yk5032 2024-09-26 09:28:20 +09:00
parent f7f3e5d40b
commit 3575818af8

View file

@ -9,6 +9,7 @@ import string
import random import random
import hashlib import hashlib
import openpyxl import openpyxl
from openpyxl import Workbook
class DL(): class DL():
def __init__(self): def __init__(self):
@ -555,7 +556,7 @@ class DL():
rows = cursor.fetchall() rows = cursor.fetchall()
# Excelワークブックを作成 # Excelワークブックを作成
wb = openpyxl.Workbook()() wb = Workbook()
ws = wb.active ws = wb.active
# 列名を書き込み # 列名を書き込み