So, should the need arise to get text prompts from python, I tested it and this works:
- import win32com.client
- speaker = win32com.client.Dispatch("SAPI.SpVoice")
- say_this="Something to say, like now processing the second file"
At least, it worked on my system.
I tend to use text prompts for long running scripts to let me know they are still alive. I would not use it within IDEA, but rather for external python scripts.