in reply to How to display Tk window without waiting for user input
Typicaly you spawn a new thread that does the scraping and communicates with the main loop through a Thread::Queue.
So you have the main loop decoupled while the scraping is taking place,therefore the OK button would not block.