简体   繁体   English

从py2exe减少可执行文件的大小

[英]Reducing the size of executable from py2exe

Are there some practices to minimize the size of .exe file created by py2exe when creating executable of python script? 创建python脚本的可执行文件时,是否有一些做法可以最小化py2exe创建的.exe文件的大小? My first impression upon using py2exe is, it creates relatively large size file. 使用py2exe的第一印象是,它创建了相对较大的文件。

有一个压缩选项,您可以在配置文件中启用该选项,但是它总是比较大(〜兆字节),因为python解释器也必须与源代码捆绑在一起。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM