Workbookのインポートを修正
This commit is contained in:
parent
f7f3e5d40b
commit
3575818af8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
# 列名を書き込み
|
# 列名を書き込み
|
||||||
|
|
Loading…
Reference in a new issue