473,473 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Creating an .exe with Tkinter involved

I know this is possible so someone out there should be able to help
me! Okay, I have a program that uses Tkinter, and BeautifulSoup. I
don't think it should be a problem. I want to create an exe of it. I
have py2exe but I don't really know how to work it. I read their
tutorial thing and did a setup that looked something like this:

from distutils.core import setup
import py2exe

setup(console['myFunProgram.py'])

(isn't really called myFunProgram)

This seems terribly wrong however because... it isn't a console app.
So I am wondering if anyone can show me how or point me in the right
direction to a place where I can learn how to do this. I would
appreciate it!
Jul 3 '08 #1
1 2852
Alex Bryan a écrit :
I know this is possible so someone out there should be able to help me!
Okay, I have a program that uses Tkinter, and BeautifulSoup. I don't
think it should be a problem. I want to create an exe of it. I have
py2exe but I don't really know how to work it. I read their tutorial
thing and did a setup that looked something like this:

from distutils.core import setup
import py2exe

setup(console['myFunProgram.py'])

(isn't really called myFunProgram)

This seems terribly wrong however because... it isn't a console app. So
I am wondering if anyone can show me how or point me in the right
direction to a place where I can learn how to do this. I would
appreciate it!
Hi.

If your program isn't a concole one, maybe should you rename it .pyw and then
in your setup.py file, replace the line
setup(console['myFunProgram.py'])
by this one
setup(windows=["myFunProgram.pyw"])

I use it under MS windows (I don't know if it is your case too).

You will find more informations here http://www.py2exe.org/index.cgi/ListOfOptions
and more generally at http://www.py2exe.org/
Fouff
Jul 3 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Adonis | last post by:
I am creating some widgets by inheriting from Tkinter.Frame and populating the frame with whatever the widget will be then creating certain attributes/methods to be accessed later. My question is,...
2
by: Russell E. Owen | last post by:
I want to support execution of simple user-written scripts in a Tkinter application. The scripts should be able to wait for data and such without hanging the GUI (and without having to write the...
8
by: Erik Johnson | last post by:
I am looking for some input on GUI libraries. I want to build a Python-driven GUI, but don't really understand the playing field very well. I have generally heard good things about wxPython. I...
7
by: William Gill | last post by:
Is there a simple way to cut and paste from a tkinter text widget to an entry widget? I know I could create a mouse button event that triggers a popup (message widget) prompting for cut/paste in...
9
by: Tuvas | last post by:
I am building a tkinter program. A part of this program is to read data from an incoming interface, and depending on the data, will display a bit of text on the tk dialog, it decodes this data, so...
8
by: Marty Christion | last post by:
What are some good free or inexpensive (<$50) IDE's for learning how to program and create GUI's for Python? I'm pretty good with the simple programming aspect of the language, but I'm a little...
44
by: bg_ie | last post by:
Hi, I'm in the process of writing some code and noticed a strange problem while doing so. I'm working with PythonWin 210 built for Python 2.5. I noticed the problem for the last py file...
1
by: Ankit | last post by:
Hi guys i need to make a table to store a certain data using Tkinter..I have searched on the group but i have not been able to find a solution that would work for me..The thing is that i want my...
1
by: nish88 | last post by:
Hi!! Actually,i am doing a simulation and i want a dot (small oval) to pop up when i click(by mouse) on the canvas. can anyone please help me or if possible give me the piece of codes to perform...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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...
1
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
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.