Making small executive file for distribution

Grant Edwards grante at
Thu Sep 25 04:33:02 CEST 2008

On 2008-09-25, Larry Bates <larry.bates at> wrote:
> Marin Brkic wrote:
>> Not commercial distribution, but an academic kind of sorts - giving
>> the exe file to coleagues, so they can use it in their work. Giving
>> .py file is not an option, since due to centralized computer
>> maintenance, they don't (and cannot) have installed python (except the
>> ones that bring their own computer at work, but those are an
>> exception).
>> As far as I know py2exe is the only option which can do such a thing
>> (make exe files from scripts). Is there a way to make those exe files
>> a little smaller (for a small script they easily go up to 5-10 mb).

> Times have changed, 5-10Mb is REALLY small.  Flash drives hold 4000-8000Mb
> for less than $20 and standard hard drives are now 500Gb.  IMHO you are 
> concerned about a problem that doesn't actually exist.

But what if he wants to distribute his program on a floppy
disk? ;)

[I think only 1 of my 5 machines has a floppy drive, and the
last time I tried to use it, it didn't work.  I did have a
usb-floppy drive somewhere, but I think somebody borrowed it a
couple years ago and never returned it.]


More information about the Python-list mailing list