Search code examples
pythonexcelxlwings

How do show excel is working with the busy (hourglass) mouse cursor when running a python script in xlwings?


I've written a script in python for MS Excel which pulls data from a MySQL database, processes it into a format I want and then writes the data to Excel. I'm using xlwings to achieve this.

The process takes about 7 seconds and during that time the Excel user doesn't know that a process is happening.

How can I show the busy cursor from xlwings?


Solution

  • Sadly, xkwings does not yet support this: an issue to do so was created in Oct 27, 2016 but is not yet resolved: