xlwings(11)
import tkinter as tk
import xlwings as xw
t = tk.Tk()
t.geometry('300x300')
def dee():
li = xw.Book(r"G:/14.xlsx").sheets[0]
li[3,3].value = '我实现了!!!'
b = tk.Button(t,text='按钮',width=10,height=2,command = dee)
b.pack()
t.mainloop()
xlwings和tkinter结合
xlwings(11)最先出现在Python成神之路。
共有 0 条评论