I have a script that creates a bunch of threads, runs a program to use the threads to run tasks from a queue, and returns something from each thread. I want to count how many of
Based on Python variable scope error,
I should have put "global successful" under "def foo():".
Oops.