No. test3.py (for example) is just plain Python code that sends and receives
socket data
from another machine. It does (or could) contain loops that last a long
time, repeating
the read or write operations to and from the socket. This grabs the CPU.
   What I am hoping for is a function call I can make, without knowing any
of the
GUI objects, I can call from test3.py (or while test3.py is running) which
will
refresh the GUI and check for activity such as button presses on the GUI
itself.
  For example, if I just call sleep(), will it do this?

Thanks in advance:
Michael Yanowitz
  -----Original Message-----
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Mohammad Tayseer
  Sent: Monday, December 18, 2006 11:28 AM
  To: python-list@python.org
  Subject: RE: Can a Tkinter GUI check for abort script:


  I don't know why this happen. do you call mainloop() inside the test3.py??
you shouldn't

  Michael Yanowitz <[EMAIL PROTECTED]> wrote:
  >   Presently what happens is that the script takes over and all the
buttons on
  > the GUI disappear
  > as the GUI is not given any cpu time to refresh or check if any activity
in
  > the dialog.



  __________________________________________________
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to