关于Python的GUI开发库的选择
2010-06-29 13:20 提问者: 大木kalem |浏览次数:3183次
我正在准备ESRI开发大赛空间建模组的作品,因为要开发一个用户界面用来输入模型的参数。我选用的脚本语言是Python,我发现Python可以通过多种GUI开发库进行相应的开发,比如Tkinter、WxPython、PyQT等等,我想知道这几个哪个相对好一些啊?还有如果我的模型在没有安装相应开发库的电脑上能运行吗?
对Python了解较少,望高手赐教~~~
我来帮他解答
满意回答
2010-06-29 20:00
wxpython和pyqt都可以,pyqt的设计工具相对好一点,但打包出来的东西要大一点点。其实也就大个几MB。
如果用pyqt的话推荐你去试试eric4这个IDE。
如果用wxpython可以去试试Boa Constructor这个IDE
界面不是太复杂的话两个都差不多,看个人喜好了。
程序完成后用py2exe可以打包成exe文件,wxpython打包好的文件大概在8MB到10MB左右吧,看你用了多少模块而定。
python的版本在windows上推荐用2.5的,2.6的打包要用到vc++2005的运行库。