Return the main Thread object. In normal conditions, the main thread is the thread from which the Python interpreter was started.
threading.main_thread()