首頁 >後端開發 >Python教學 >py2exe 编译ico图标的代码

py2exe 编译ico图标的代码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-06-06 11:27:551502瀏覽

代码如下:


#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