(Nov-11-2018, 09:17 PM)imtiazu Wrote: Python waits for the response and then just displays garbage - which is basically the attempted download of the csv file.That garbage can be binary data of csv file,so try to save content.
import requests with open("data.csv",'wb') as f_out: f_out.write(response.content)