<p class="codetitle"> 代码如下:</p> <p class="codebody" id="code76089"> <br>#setup.py <br>from distutils.core import setup <br>import py2exe <br><br>setup( <br># targets to build <br>windows = [{"script":"EDI_VIEW.py", "icon_resources": [(1, "edi.ico")]} ] <br>) <br></p>