Because the script's processing takes time, I want to display a dialog indicating that it is in progress. When the processing is finished, I want the dialog to close automatically.
Please specify the application and the general goal of the process. This will all help, but also check out the Python threading module as this likely will help.