472,126 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,126 software developers and data experts.

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 2104
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.