2019-02-25
阅读量:
686
Tkinter库中的秒表是什么
python中使用Tkinter创建秒表:Tkinter是Python的标准GUI库。Python与Tkinter结合使用时,可以快速轻松地创建GUI应用程序。Tkinter为Tk GUI工具包提供了强大的面向对象的接口。开始使用Tkinter非常容易,下面是一些示例代码,可以在python中使用Tkinter。
# Python program to create a
# a new window using Tkinter
# importing the required libraires
import tkinter
# creating a object 'top' as instance of class Tk
top = tkinter.Tk()
# This will start the blank window
top.mainloop()







评论(0)


暂无数据
推荐帖子
0条评论
0条评论
0条评论