如何从Python中的EXE提取ICO/PNG文件

发布于 2025-02-13 05:28:17 字数 261 浏览 0 评论 0原文

因此,我试图制作一个小程序启动器,该启动器将应用程序中的应用程序的名称在文件夹中获取,并在tkinter窗口中使用这些名称制作按钮,以打开按钮指定的程序。 python程序的图像。因此该程序有效,但是我想让按钮具有它们启动的应用程序的图标。因此,我想知道是否有人知道如何从python的exe中提取.ico/.png文件。

so im trying to make a little program launcher that takes the names of apps in a folder and make buttons with those names in a Tkinter window to that open the program that button specifies. image of python program. so the program works, but i want to make the buttons have the icon of the app they start. so i was wondering if anyone knew how to extract either .ico/.png files from an exe with python.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文