import tkinter
window = tkinter.Tk()
width = 600
height = 400
screen_width = window.winfo_screenwidth()
screen_height = window.winfo_screenheight()
x = screen_width/2-width/2
y = screen_height/2-height/2
window.geometry("%dx%d+%d+%d"%(width,height,x,y))
entry1 = tkinter.Entry(window,font=("宋体",27))
entry2 = tkinter.Entry(window,font=("宋体"
GUI图形化开发编写一个小计算器计算加减乘除
最新推荐文章于 2021-03-19 04:00:58 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)