py2exe 编译ico图标的代码
程序员文章站
2022-05-18 09:33:45
...
代码如下:
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)