Image Download with PycURL gets me broken Images Image Download with PycURL gets me broken Images curl curl

Image Download with PycURL gets me broken Images


Okay, now where I have finally meditated over this by posting this question I got the solution.

I needed to open the file in binary mode.

f = open("temp/resources/%s" % (filename,), 'wb')

I hope this Question helps someone else, sometime, anyhow.

Thanks stackoverflow for making me meditate on this. :)