how to run thread with a function from a class python code example
Example: python thread function
x = threading.Thread(target=thread_function, args=(1,), daemon=True)
x.start()
# x.join()
x = threading.Thread(target=thread_function, args=(1,), daemon=True)
x.start()
# x.join()