Tkinter值得学习吗?

2024-04-28 15:35:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我通常用Qt来制作桌面界面,但是最近的一些TK截图让我相信TK不再只是丑陋的主题。 另外,Tkinter还与Python捆绑在一起,这使得发布更加容易。

那么这是值得学习的还是我应该坚持Qt?

example tk interface
(来源:kb-creative.net


Tags: 主题net界面kbtkinter来源qt桌面
3条回答

你可能想看看this(wxPython)

wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard Python GUI toolkit is that Tkinter was there first. -- Guido van Rossum

当然,作为其他GUI工具包的升级。如果你知道其他工具包,那么你已经了解了TkInter,可以在你真正需要它之前离开它。

您的问题的答案是响亮的“是”。

Qt很好,我没有什么反对的。但是Tk更好、更容易使用,而且非常well documented-不仅在Python的web空间上,还有很多第三方教程。This我是从某个地方学来的,在为我服务的过程中它是绝对正确的。

相关问题 更多 >