Say that I have a function that looks like:
def _thread_function(arg1, arg2=None, arg3=None): #Random code
Now I want to create a thread us
Use the kwargs parameter:
threading.Thread(target=self._thread_function, args=(arg1,), kwargs={'arg2':arg2}, name='thread_function').start()