首页 >后端开发 >Python教程 >py2exe 编译ico图标的代码

py2exe 编译ico图标的代码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原创
2016-06-06 11:27:551499浏览

代码如下:


#setup.py
from distutils.core import setup
import py2exe

setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn