【发布时间】:2017-03-23 06:03:00
【问题描述】:
我有这个 setup.py 脚本,用于为我的 .exe 文件合并图标, 但设置后图标没有出现。 该图标大小为 361 KB。
from distutils.core import setup
import py2exe
setup(
console = [
{
"script": "wykoRas_parser.py", ### Main Python script
"icon_resources": [(0, "bw-gears.ico")] ### Icon to embed into the PE file.
}
],
)
我是否在设置中遗漏了什么?
【问题讨论】: