I need to be able to offer a client "click to download" functionality on their website. Generating the data to provide to them is not an issue but I want them to be able to click a button and have the response be sent to a csv file which they are prompted to download. Can someone point me in the right direction how to do this in python. Thanks in advance.