复制代码 代码如下:
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)
#setup.py
from distutils.core import setup
import py2exe
setup(
# targets to build
windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ]
)