473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

GUI thread and Python IDLE

Hi,

I got a problem with Python IDLE to run Tkinter application. I use
thread to start a Tkinter application. It works fine on Linux when I
invoke the program from command line. But when I try to use IDLE, the
GUI doesn't show up until I close the IDLE edit window and the Python
shell window. Does anybody have any idea?

- huwind
Jul 18 '05 #1
2 1755
"huwind" <hu***@bu.edu> wrote in message
news:f3**************************@posting.google.c om...
Hi,

I got a problem with Python IDLE to run Tkinter application. I use
thread to start a Tkinter application. It works fine on Linux when I
invoke the program from command line. But when I try to use IDLE, the
GUI doesn't show up until I close the IDLE edit window and the Python
shell window. Does anybody have any idea?

- huwind


Have a look at:

http://www.ferg.org/thinking_in_tkinter/index.html

Evidently IDLE is itself a TKinter program.

--
Cy
http://home.rochester.rr.com/cyhome/
Jul 18 '05 #2
huwind wrote:
Hi,

I got a problem with Python IDLE to run Tkinter application. I use
thread to start a Tkinter application. It works fine on Linux when I
invoke the program from command line. But when I try to use IDLE, the
GUI doesn't show up until I close the IDLE edit window and the Python
shell window. Does anybody have any idea?


IDLE is itself a Tkinter application, so you are probably experiencing
conflict between the main loop of the two applications. It's a bit like
getting into your car to drive from the front seat of your car to the
back seat ...

This is confirmed by the fact that the program runs fine independently.

regards
STeve
Jul 18 '05 #3

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

Similar topics

1
by: Vin Jovanovic | last post by:
Trying to start Python IDLE through Start>Programs>Python 2.3> IDLE doesn't work From DOS ... I get this .... C:\>python C:\Python23\Lib\idlelib\idle.py Traceback (most recent call last):...
38
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.1 (final). Python 2.3.1 is a pure bug fix release of Python 2.3, released in...
6
by: Aubrey Hutchison | last post by:
Using Python 2,3,2 with idle for developing programs about 200 lines long. - Problem is not common to any specific program. Program are rather simple with no trick programming. Usually no classes...
4
by: renguy | last post by:
I am interested in making some changes and additions to the Python environment (Python and IDLE). I have the source code and can build the source, but what I want to know is what are the "main"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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
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...

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.