Tkinter值得学习吗?

发布于 2024-08-24 05:31:40 字数 1697 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

诠释孤独 2024-08-31 05:31:40

您的问题的答案是响亮的

Qt很好,我没有什么反对的。但 Tk 更好,更容易使用,并且有详细记录 - 不仅仅是在 Python 网络空间上,但也有很多第三方教程。 这个是我从中学到的,它在为我服务方面非常可靠。

The answer to your question is a resounding yes.

Qt is good, I have nothing against it. But Tk is better and far easier to use and quite well documented - not just on the Python webspace, but there are also many third-party tutorials out there. This particular one is where I learned it from and it has been quite infallible in serving me.

在梵高的星空下 2024-08-31 05:31:40

您可能想看看this(wxPython)

wxPython 是最好、最成熟的跨平台 GUI 工具包,但有许多限制。 wxPython 不是标准 Python GUI 工具包的唯一原因是 Tkinter 首先出现。
——吉多·范·罗森

You might want to take a look at 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

寂寞陪衬 2024-08-31 05:31:40

当然,作为其他 GUI 工具包的升级。如果您了解其他工具包,那么您已经了解了 TkInter,可以将其保留到您真正需要它为止。

As a step up to other GUI toolkits, sure. If you know other toolkits then you already understand TkInter and can leave it until you actually need it.

饮湿 2024-08-31 05:31:40

为什么不选择PyQT?您显然已经熟悉 Qt,所以它应该相对容易学习。在我看来,它看起来比 Tkinter 更好,而且确实有更好的文档记录。

Why not go for PyQT? You apparently are already familiar with Qt, so it should be relatively easy to learn. In my opinion it looks better than Tkinter, and it sure is better documented.

节枝 2024-08-31 05:31:40

我使用 Qt 和 C++,但决定尝试使用 Tkinter 和 Python。我在安装最新版本的 Tcl/Tk 时遇到了一些麻烦,但最终还是成功了。我在这个 tkdocs.com 教程的帮助下完成了这一切,这非常棒。

I used Qt with C++, but decided to have a go with Tkinter with Python. I had a bit of trouble installing the latest version of Tcl/Tk, but got there eventually. I did it all with the help of this tkdocs.com tutorial, which is great.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文