PythonAnywhere Forums

CSV Download

Hi everyone.

My webapp currently saves a csv file to the Files section in python anywhere. If I want the user to be able to save this file locally on their computer instead of having it save to my account, how can I do this?

Something like this if you are using django

I'm using bottle and the csv is saving to the Files region. I need some way to save these to the user's computer instead.

See this for bottle. Also you can consider just setting up static file mappings on the webapps tab if you just have static files you want to send your user (instead of dynamically generated files)