应用程序的外观 - Py2exe / wxPython

发布于 2024-08-30 21:49:59 字数 695 浏览 1 评论 0原文

所以我的问题是我的应用程序的外观和感觉,因为它看起来像一个旧的外观应用程序。

它是一个 wxPython 应用程序,在 python 上它运行良好并且看起来不错,但是当我使用 py2exe 将其转换为 .exe 时,外观很糟糕。

现在我知道如果你使用的是 XP,你需要一些清单来纠正它,但我在其他情况下。我使用的是 Windows 7,并且使用的是 Python 2.6(是的,我包括 DLL 和 Microsoft.VC90.CRT.manifest)。

所以我的问题是在这种情况下我该如何解决这个问题?

注意:我尝试在谷歌上搜索,但我发现的帖子对于使用 XP 和旧版 python 版本的人来说相当旧,所以我认为它会有所不同?

编辑:屏幕截图 正常(想要的外观): http://img80.imageshack.us/img80/3157/ 70762988.png

Py2exe(不需要的外观):http://img687.imageshack .us/img687/6581/53608742.jpg

So my problem is the look and feel from my application, as it looks like an old look app.

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.

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?

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?

EDIT: Screenshots
Normal (wanted look) : http://img80.imageshack.us/img80/3157/70762988.png

Py2exe (unwanted look) : http://img687.imageshack.us/img687/6581/53608742.jpg

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

也只是曾经 2024-09-06 21:49:59

尝试使用 Gui2exe

我在 virtualbox 上运行的 win7 上使用 gui2exe。

这使得 gui 在所有 Windows 版本上看起来都不错。
upx.exe 压缩exe、dll、pyd。

还有 inno-setup,用于 Windows 的安装文件。

Try use Gui2exe

I use gui2exe on win7 running on virtualbox.

This make gui look ok on all windows version.
upx.exe to compress exe,dll,pyd.

And inno-setup,for a setup fil for windows.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文