Tkinter window says (not responding) but code is running

I have a program that runs a long process after you click an action button. As the process is running the root window will say that it is not responding even though I know the program is running in the background. This program is going to be released to a few people that I work with and I want to make sure they don’t freak out and close the window when they see this. The solution I have is sitting a root.update in the loop of the process that is running but I am not sure this was the best fix.

How can I use psycopg2.extras in sqlalchemy?

I want to upload a huge number of entries (~600k) into a simple table in a PostgreSQL DB, with one foreign key, a timestamp and 3 float per each entry. However, it takes 60 ms per each entry to execute the core bulk insert described here, thus the whole execution would take 10 h. I have found out, that it is a performance issue of executemany() method, however it has been solved with the execute_values() method in psycopg2 2.7.

Is it possible to make the keyboard module work with pygame and threading

My friend challenged me to make a small program that allows the user to press a button on a Xbox controller and have it do multiple functions on the keyboard (like reWASD). I thought I almost made it to the end and found the having keyboard.press() and keyboard.release() wouldn’t do its function. Is there any possible way to make it do what I hoped it to do. Sorry for the bad English I am freshmen and its 1 am and I am new to stakoverflow formatting.