Newbie question: Python 2.6, Ubuntu 10.04, I can import both pycurl and curl, the former having different names for functions (set_option vs. setopt).
What’s the difference between the two modules?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
curlis a module which usespycurl. It provides thecurl.Curlclass which provides a high-level interface to the pycurl functions.I haven’t found much documentation on how to use it, but reading
/usr/share/pyshared/curl/__init__.pymay make it pretty self-obvious.There are also some examples in
/usr/share/doc/python-pycurl/exampleswhich usecurl.Curl.