Thread Handling In Python With Example