py2exe dll file

Miki Tebeka tebeka at cs.bgu.ac.il
Wed Oct 1 10:16:23 EDT 2003


Hello,

> The .dll file that py2exe creates to go with the program is huge even for a
> small program.  Is there any way to possibly optomize the .dll file to make
> it smaller?
Which dll? Depending on your program it might have several dlls in the
dist/prog directory.

If size does matter you might want to try upx
(http://upx.sourceforge.net/). With --best it reduced python23.dll
from 952k to 386k and my proram seems to work.

HTH.
Miki




More information about the Python-list mailing list