Distributing Python apps

David Bolen db3l at fitlinxx.com
Mon Jan 6 22:20:45 CET 2003

Thomas Heller <theller at python.net> writes:

> To further cut down the file size, you could use UPX, which
> transparently compresses executable files. This brings down
> python22.dll from 847920 bytes to 324608 bytes. IIRC, the ratio
> is even more impressive with the wxPython and wxWindows dlls.
> http://upx.sourceforge.net/

That's a good point, particularly with respect to a diskette based
system.  Normally I steer people away from this approach because it
prevents Windows from sharing that DLL amongst several processes, so
you risk dramatically increasing memory usage.  But given that a
packaged python application would be self-contained and not typically
sharing anything anyway, the downside isn't as bad and likely worth
the trade-off.

-- David
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \

More information about the Python-list mailing list