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 © 2010-2021 脚本学堂 Jb200.com , All Rights Reserved.