py2exe 编译ico图标的代码

757次阅读  |  发布于5年以前

复制代码 代码如下:

setup.py

from distutils.core import setup
import py2exe

setup(

targets to build

windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8