any python lightweight gui library? [closed]

孤人 提交于 2021-01-04 12:50:53

问题


I've tried using pyinstaller to package a simple hello world example using both pyqt and wxPython and both of them were about 15mb to 20mb. Why is it so big , its not practical for simple apps. Is there any other cross-platform solutions?


回答1:


For small applications you should take a look at Tkinter (or tkinter in python3). As it is part of the standard library, your clients don't have to install an additional library to use the graphical interface. IDLE, the ide which comes with the standard installation of python is written in tkinter for example.

To get started with tkinker, https://wiki.python.org/moin/TkInter is a good point to start.



来源:https://stackoverflow.com/questions/20294471/any-python-lightweight-gui-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!