And create a folder static in the same directory as the Python script, then the contents of that directory will be accessible via the web. So you can have you Dash callback create the excel file into that folder and then return the URL to the file. That URL will by default be /static/some_file.xlsx.
Hi nedned, I’m probably late to the party. Just curious, for OP’s case, how should he/she write the decorator? I figured that in “Output()” you have to put some id of a widget right? How should I write it to return something to outside of Dash app (the caller basically)
I think you should be able to return an html.A tag that contains a link to the file. So the callback output would be the children property of some element.