应用外观-Py2exe/wxPython [英] Look of the app - Py2exe / wxPython
问题描述
所以我的问题是应用程序的外观和感觉,因为它看起来像是旧外观的应用程序.
So my problem is the look and feel from my application, as it looks like an old look app.
这是一个wxPython应用程序,在python上运行良好并且看起来不错,但是当我使用py2exe将其转换为.exe时,外观就很糟糕.
It is an wxPython application, and on python it runs fine and looks fine, but when I convert it to .exe using py2exe, the look is just bad.
现在我知道,如果您使用的是XP,则需要一些清单来纠正它,但我处于其他情况.我正在使用Windows 7,并且正在使用Python 2.6(是的,我包括DLL和Microsoft.VC90.CRT.manifest).
Now I know that if you are using XP you need some manifest to correct it but I am in other circumstances. I'm using Windows 7, and I'm using Python 2.6 (Yes, I am including the DLL's and the Microsoft.VC90.CRT.manifest).
所以我的问题是如何在这种情况下解决这个问题?
So my question is how can I solve this under these circumstances?
注意:我尝试在Google上进行搜索,但是发现的帖子在使用XP和较旧的python版本的人中相当老,所以我认为情况会有所不同吗?
NOTE: I tried to search on google, but the posts I found were rather old with people using XP and older python versions so I assumed it would be different?
屏幕截图 正常(希望查看): http://img80.imageshack.us/img80/3157/70762988.png
Screenshots Normal (wanted look) : http://img80.imageshack.us/img80/3157/70762988.png
Py2exe(不需要的外观): http://img687.imageshack.us/img687 /6581/53608742.jpg
Py2exe (unwanted look) : http://img687.imageshack.us/img687/6581/53608742.jpg
推荐答案
尝试使用 Gui2exe
我在virtualbox上运行的win7上使用gui2exe.
I use gui2exe on win7 running on virtualbox.
这使gui在所有Windows版本上都可以正常显示. upx.exe来压缩exe,dll,pyd.
This make gui look ok on all windows version. upx.exe to compress exe,dll,pyd.
和inno-setup,用于Windows的安装文件.
And inno-setup,for a setup fil for windows.
这篇关于应用外观-Py2exe/wxPython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!