How to Create Threads in Python