python 教程 第十九章、 图形界面编程

第十九章、 图形界面编程

import Tkinter
top = Tkinter.Tk() 

hello = Tkinter.Label(top, text='Hello World!')
hello.pack()
quit = Tkinter.Button(top, text='QUIT',command=top.quit)
quit.pack(fill=Tkinter.X, expand=1) 

Tkinter.mainloop() 
服务项目 技术咨询 微信图书 微信视频 微信代码 定制开发 其他福利
服务入口 QQ群有问必答
查看详情
一本书解决90%问题
查看详情
微信开发视频
小程序开发视频
免费代码
¥1888阿里云代金券
查看详情
营销工具
微信特异功能
原文地址:https://www.cnblogs.com/txw1958/p/2210096.html