2014-05-18 13 views

risposta

12

è necessario scrivere il file da soli, ecco un esempio:

import pycurl 
c = pycurl.Curl() 
c.setopt(c.URL, 'http://my.server/a.jpg') 
with open('o.jpg', 'w') as f: 
    c.setopt(c.WRITEFUNCTION, f.write) 
    c.perform() 
+0

Grazie, sembra buono. – OneSolitaryNoob