|
2011-09-21
, 07:24
|
Posts: 1,038 |
Thanked: 737 times |
Joined on Nov 2005
@ Helsinki
|
#2
|
|
2011-09-22
, 01:29
|
Posts: 58 |
Thanked: 31 times |
Joined on Nov 2010
|
#3
|
I'm writing currently a app, which fetches different content from various sites. I am using Threads for preventing the interface from freezing. The Update-Process is splitt into currently 4 Sites, every site is a Thread. How do I get Python to start one Thread and after this one is finished, start another one?
The basic Idea is simple, by doing something like this:
Since I'm on my way to implement more and more Sites it kinda sucks to do this for every site. It would be nice to create a list of Threads eg: (NTV.begin,engadget.begin) and then triggger it Thread by Thread (everytime one Thread is finished - start another one). A while-loop let's the interface freeze again.
Any ideas?
Blck