Adding a threaded version of this script...
Added a thread sample for Python.