473,499 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2178
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
2330
by: Thomas Heller | last post by:
I'm slowly getting tired maintaining py2exe. It is far from perfect, although it has interesting features (I would say). The problem, apart from the work, is that it is good enough for me - I...
2
1615
by: Jimmy Retzlaff | last post by:
I am taking over the maintenance and support of py2exe from Thomas Heller. As he announced a few weeks ago he is looking to focus on other things. py2exe has been very useful to me over the years...
13
4252
by: Kevin Walzer | last post by:
Which of the Windows/Unix package builders for Python applications is capable of creating single-file executables? I'm thinking of: 1. py2exe 2. Mcmillan Installer/PyInstaller 3. cxfreeze ...
10
3924
by: Vincent Delporte | last post by:
Hi I browsed the archives, but since some messages date back a bit, I wanted to make sure that - py2exe is still the best tool in town to compile Python scripts to run on a Windows host that...
1
7626
by: DierkErdmann | last post by:
Hi ! I am trying to create an exe file using pyinstaller. Running the created exe-File gives the error message "" Traceback (most recent call last): File "<string>", line 8, in <module> File...
3
3033
by: Martin Evans | last post by:
I have converted a Python script using py2exe and have it set to not bundle or compress. The result is my exe and all the support files including library.zip (exactly as planned - nice job py2exe)....
2
2397
by: Marcus | last post by:
Hi, I'm to the stage where I need to deploy the app I built with wxPython. I've been able to successfully build it w/py2exe into a binary (about 10MB size in total). What I'd like to do is...
11
4858
by: Jeff | last post by:
Hello everyone. I've searched through the archives here, and it seems that questions similar to this one have come up in the past, but I was hoping that I could pick your Pythonic brains a bit. ...
7
3556
by: DanielJohnson | last post by:
I have a small project which has around 10 .py files and I run this project using command line arguments. I have to distribute this project to somebody. I was wondering how can I make an...
0
198
by: oyster | last post by:
you can try jungle ( http://www.suda-chen.biz/?page_id=21 ) also
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4602
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.