在 Python 中开发简单 GUI 的最简单方法
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4293889/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Easiest way to develop simple GUI in Python
提问by csguy11
I'm done with my class project which I coded using Python. I'm working on the extra credit part i.e. GUI development - Windows platform.
我已经完成了我使用 Python 编码的课程项目。我正在研究额外的信用部分,即 GUI 开发 - Windows 平台。
I need something simple, easy to use, possibly drag-and-drop GUI development tool for Python. GUI needs to look somewhat like google, since all my project does is:
我需要一些简单易用的 Python 拖放式 GUI 开发工具。GUI 需要看起来有点像 google,因为我的项目所做的就是:
input: Company name
output: Ethical or Unethical
So, all I need is:
所以,我需要的是:
- An attractive image
- Input textbox
- Search button
- Output box
- 诱人的画面
- 输入文本框
- 搜索按钮
- 输出框
回答by Mariy
Tkinter is simple but is too ugly. PyQT can do everything you want but is too big. Perhaps IronPython will be good for you. Take a look at this: Python guis
Tkinter 很简单,但是太丑了。PyQT 可以做你想做的一切,但它太大了。也许 IronPython 对你有好处。看看这个:Python guis
回答by Risto Salminen
回答by piertoni
回答by TMoover
I would recommend wxpython. It's very easy to use and the documentation is pretty good.
我会推荐 wxpython。它非常易于使用并且文档非常好。

