473,386 Members | 1,710 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,386 software developers and data experts.

How to kill easygui dialog?

I am using an easygui(http://www.ferg.org/easygui/index.html) dialog
(enterbox) to retrieve some info from a user. The program then goes on
and does a bit of processing, sometimes for several minutes. In the
meantime, the dialog stays there, dead but visible. I would prefer that
either another dialog ("Processing....") would be shown while
background stuff happens, or that the current dialog would simply
disappear. Ideas?

TIA,
Bob

Jul 21 '05 #1
2 1531
ut*********@gmail.com wrote:
I am using an easygui(http://www.ferg.org/easygui/index.html) dialog
(enterbox) to retrieve some info from a user. The program then goes on
and does a bit of processing, sometimes for several minutes. In the
meantime, the dialog stays there, dead but visible. I would prefer that
either another dialog ("Processing....") would be shown while
background stuff happens, or that the current dialog would simply
disappear. Ideas?


I know I'm going to get flamed for this... but, perhaps,
http://home.eol.ca/~parkw/index.html#gtk
would side-step the problem altogether.

Essentially, you describe your layout in XML syntax, feed it through
Bash shell, and it will display GTK+2 widgets. When user clicks or
types, data will be stored in shell variable or specified shell command
will be executed. That's all.

In order to call it from Python, you'd have to use os.system(), and
store the shell variable to file or print it out to stdout. Then, you
can read it back from Python. In fact, you can feed the input data
directly from Python to shell.

--
William Park <op**********@yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/
Jul 21 '05 #2
William,

Thanks for the reply. No flames, but I am running on both Linux and
Windows, so I need a x-platform solution. I thought I had it with
easygui...

Must try some other ideas....

Jul 21 '05 #3

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

Similar topics

6
by: Bob Swerdlow | last post by:
My application starts up a number of processes for various purposes using: self.popen = popen2.Popen3("/usr/local/bin/python -O "myscript.py") and then shuts them down when appropriate with...
10
by: Fred | last post by:
There is a setting in INIT.ORA that has the unintended side-effect of making sure the ALTER SYSTEM KILL SESSION command has immediate affect. Without this setting, I've seen some instances where...
4
by: A frustrated developer | last post by:
The following article discussed how to use the Excel, close and kill it: http://support.microsoft.com/default.aspx?scid=kb;en-us;317109 But if you added a oBook.SaveAs(...) to save the workbook...
1
by: Manfred Braun | last post by:
Hi All, I am writing a tool, which should monitor some exe-processes, which are not very solid. Th main function is to re-start them, if they hung, but this is complicated. I can detect things...
2
by: eddie69 | last post by:
Hi, I am working in an application (VB 2005) that has a listview of all running processes and hastheability to close (kill) any active process. So far, I have been able to kill any process at...
3
by: grisdrew | last post by:
Hey All, requesting some help. I have been developing scripts for automating hardware tests. I have been able to use py2exe to compile them and run them on other machines. To make it user...
4
by: Richard Rossel | last post by:
Hi Fellows, I have a problem with process termination. I have a python code that apache runs through a django interface. The code is very simple, first, it creates a process with the...
0
by: peterayre | last post by:
Hello I'm developing a school project using python easygui; is there any way that you can incorperate images into codes that dont usually support it? ie multi enter box: multenterbox(msg='Fill in...
3
by: spectrumdt | last post by:
Hello. I am running Fedora Linux and KDE, using the Konsole command line. When coding Python, I regularly make a bug causing my program to not terminate. But how do I kill the non-terminating...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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,...
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,...
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...

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.