py2exe 编译ico图标的代码
(编辑:jimmy 日期: 2024/11/17 浏览:3 次 )
复制代码 代码如下:
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)
下一篇:python 排列组合之itertools