py2exe 编译ico图标的代码
py2exe 编译ico图标的代码,需要的朋友可以参考下
代码如下:
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)
精彩图集
精彩文章
@CopyRight 2002-2008, 1SOHU.COM, Inc. All Rights Reserved QQ:1010969229