How to Use the Python threading Module