Creating single .exe file without py2exe and pyinstaller

Tino Wildenhain tino at
Sun Oct 19 08:43:55 CEST 2008


Abah Joseph wrote:
> I have written a small application of about 40-45 lines which is about 
> 4KB, so I want to create a single .exe file from it, using py2exe it 
> created unnecessary files, that just increase the size of the program 
> and also less portable to me. What else can I use?

the "unneccessary files" you say, are what your 40-45 lines bring to

1) just distribute the 40-45 lines - but this requires python
    installation on users end

2) use a python to C(++) compiler and compile the result to .exe,
    works pretty well for simple applications:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the Python-list mailing list