469,356 Members | 1,994 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Re: Creating single .exe file without py2exe and pyinstaller

Tino Wildenhain wrote:
Hi,

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
life.

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:

http://shed-skin.blogspot.com/

Regards
Tino
3) Stop worrying about the size of the distribution. In today's world 4Mb is
trivial to download.

-Larry
Oct 20 '08 #1
1 1993
On Oct 20, 4:48*pm, Larry Bates <larry.ba...@vitalEsafe.comwrote:
Tino Wildenhain wrote:
Hi,
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
life.
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:
* *http://shed-skin.blogspot.com/
Regards
Tino

3) Stop worrying about the size of the distribution. *In today's world 4Mb is
trivial to download.
Unless you're still on dialup...
Oct 20 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Thomas Heller | last post: by
2 posts views Thread by Jimmy Retzlaff | last post: by
13 posts views Thread by Kevin Walzer | last post: by
10 posts views Thread by Vincent Delporte | last post: by
1 post views Thread by DierkErdmann | last post: by
3 posts views Thread by Martin Evans | last post: by
2 posts views Thread by Marcus | last post: by
7 posts views Thread by DanielJohnson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.