pythontkinterface怎么和數(shù)據(jù)庫連接?
from tkinter import *root=Tk()temp1=35Label(root,text="溫度1").grid(row=0,column=0)entryvar=IntVar()Entry(root,variable=entryvar).grid(row=0,column=1)entryvar.set(temp1)root.mainloop()
下一篇離線地圖什么意思
pythontkinterface怎么和數(shù)據(jù)庫連接?
from tkinter import *root=Tk()temp1=35Label(root,text="溫度1").grid(row=0,column=0)entryvar=IntVar()Entry(root,variable=entryvar).grid(row=0,column=1)entryvar.set(temp1)root.mainloop()