What's the simplest cross-platform way to pop up graphical dialogs in Python?

后端 未结 10 2201
一生所求
一生所求 2020-12-13 04:15

I want the simplest possible way to pop up simple dialogs in Python scripts. Ideally, the solution would:

  • Work on Windows, OS X, Gnome, KDE
  • Look like
10条回答
  •  旧巷少年郎
    2020-12-13 04:28

    This is not possible. If you want simple then you have to use Tkinter because that is what is included. If Tkinter is not good enough then you will have to choose and package a GUI for each platform separately.

    I suggest that you do use Tkinter and wrap the parts that you need in a class that will be even simpler to use.

提交回复
热议问题