def start_thread(function, *args, **kwargs):
    "Start a new thread and wrap with error catching."
    _thread.start_new_thread(_bootstrap, (function, args, kwargs))
Start a new thread and wrap with error catching.
recipes/Python/577635_Directory_Pruner_3/recipe-577635.py