SyntaxFix
Write A Post
Hire A Developer
Questions
The answer has been covered, but for simplicity...
# To filter out finished threads threads = [t for t in threads if t.is_alive()] # Same thing but for QThreads (if you are using PyQt) threads = [t for t in threads if t.isRunning()]