pc = pycurl.Curl() pc.setopt(pycurl.POST, 1) pc.setopt(pycurl.URL, 'http://192.168.0.25:/Image') #pc.setopt(pycurl.HTTPPOST, [('Img1', (pc.FORM_FILE, '1.jpg')), ('Img2', (pc.FORM_FILE, '3.jpg'))]) b1=open('1.jpg').read() b2=open('3.jpg').read() pc.se