Python 脚本的通用跨平台 GUI?

Universal Cross-platform GUI for Python Scripts?

有没有办法为 Python 脚本创建适用于 Mac、Windows 和 Linux 的 GUI?

肯定有万能的方法。

有人有想法吗? GTK 呢?有什么好的选择吗?

使用 python 创建 GUI 应用程序的默认方法是使用 tkinter 模块 https://docs.python.org/3/library/tkinter.html#module-tkinter

如果 tkinter 不能满足您的需求,可以在此处找到几个非标准库 https://docs.python.org/3/faq/gui.html

您可以使用 Kivy,它是 Python 的跨平台 GUI,可用于 Mac、Windows、Linux、