简体   繁体   中英

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? My first impression upon using py2exe is, it creates relatively large size file.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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