I am using pyCurl with the following line to call a function with the data of the connection:
conn.setopt(pycurl.WRITEFUNCTION, on_receive)
Is there anyway I can pass more parameters to on_receive
function, such as:
conn.setopt(pycurl.WRITEFUNCTION, on_receive, parameter_1, parameter_2)
Thanks,
Joel