467,915 Members | 1,147 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,915 developers. It's quick & easy.

py2exe dll file

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?

--
Audio Bible Online:
http://www.audio-bible.com/
Jul 18 '05 #1
  • viewed: 2282
Share:
2 Replies
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
Jul 18 '05 #2
Miki Tebeka <te****@cs.bgu.ac.il> spake thusly:
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.
Oh, the one I have compiled only produced one (python23.dll) so I didn't
know that.
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.

Cool, thanks for the info!

--
Audio Bible Online:
http://www.audio-bible.com/
Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by RJS | last post: by
2 posts views Thread by Stefan Behrens | last post: by
reply views Thread by Kathleen Kudzma | last post: by
6 posts views Thread by Luc Saffre | last post: by
2 posts views Thread by Mike Zupan | last post: by
4 posts views Thread by bwaha | last post: by
reply views Thread by Larry Bates | last post: by
reply views Thread by Jimmy Retzlaff | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.