I am making a desktop application in Python using Tkinter as my gui interface. I am facing a problem where when I am executing Astrometry.net API and in that I am using their client.py. Once my frame is loaded, it has one Label named "status_label". the functions in the client file are executed in order as follows "Login=>myjobs=>upload". Now when my code is interacting with the API, my gui interface goes Not responding. To check this I even used status_label to display which function is executing by changing text of status_label to the name of the function currently executing right before the function is called. Still, the label is not updated at the end and in the meanwhile the entire time when it interacts with online API, entire gui is Not-Responding.
How to avoid this problem and get the function name in the label?