threading and gui programming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gopython
    New Member
    • Mar 2007
    • 18

    #1

    threading and gui programming

    Hi,

    I am just curious. Do you really need to use threading to do gui programming in python? If so, when and why the threading is needed? Thanks in advance
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by gopython
    Hi,

    I am just curious. Do you really need to use threading to do gui programming in python? If so, when and why the threading is needed? Thanks in advance
    Nope, threading is not needed for most applications. Background tasks can be handled with timers if they do not take too long to return from doing their job. For long running jobs (say, calculating prime numbers out to a bazillion places), threading comes in handy.

    Comment

    Working...