from tkinder import * root = Tk()
root.title("label-test") # 设置窗口标题
root.geometry("200x300") # 设置窗口大小 注意:是x 不是*
root.resizable(width=True, height=False) # 设置窗口是否能够变化长/宽,False不可变,True可变,默认为True
所属网站分类: python高级 > 综合&其它python
做者:熊猫烧香网站
连接: http://www.pythonheidong.com/blog/article/442/blog
来源:python黑洞网 www.pythonheidong.comget