How can I use the WHILE instruction with wxPython

When I use the While... or the for... instruction in
Python,
I can't use wxPython to press a button, or to use the
mouse.
Is there an another way in wxPython to replace the
While or the For...

Big Thanks

···

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

SAMMM wrote:

When I use the While... or the for... instruction in
Python, I can't use wxPython to press a button, or to use the
mouse.
Is there an another way in wxPython to replace the
While or the For...

Huh? What are you talking about? A little more info (ok, a lot) or some sample code would be helpful here.

Perhaps your loop is blocking control from returning to the main loop. You can' tdo that in an event driven or callback based program and expect further events or callbacks from occuring. If this is the case then please read http://wiki.wxpython.org/index.cgi/LongRunningTasks

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!