简体   繁体   中英

Creating a GUI in Python

I am creating a small program, and I would like to know the simplest way to make a GUI. I tried wxPython, however, it only supports 2.6 and 2.7. Are there any good, simple ones for Windows, python 3.X?

The best module for me is PyQt. You have all kinds of stuff, from regular GUI to 3D OpenGL and graphs and designer with all that. If not that try with tkinter, I had better experience with PyQt but you can try both and see which is better for your needs !

Kivy是另一个选择,尽管我不相信它当前会构建为Windows可执行文件(您可以通过调用Python VM来运行它)。

Python Wiki GUI Programmimg部分中,您可以看到带有许多细节的很好的比较。

If you use anaconda it comes with qt designer already installed. Short of downloading qt creator, which is a full blown ide and requires a lot of space, this is the best option in my opinion. You can build ui's quickly and export code in either python or c++.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM