import tablib terms = [["英" , "日"], ["one" , "一"], ["two" , "二"], ["three", "三"],] sheet = tablib.Dataset(*terms) open("H:/glossary/1.xls", "wb").write(sheet.xls)
実行結果:
import tablib terms = [["英" , "日"], ["one" , "一"], ["two" , "二"], ["three", "三"],] sheet = tablib.Dataset(*terms) open("H:/glossary/1.xls", "wb").write(sheet.xls)
実行結果: