What module to use in Python to do the same as cURL in Php?
I'm a PHP programmer. What module can I use in Python to do the same that cURL 开发者_JS百科does?
Best Regards,
Take a look at python's "urllib2"
you can do the same stuff with urllib2, pycurl hasn't been updated in a while, so I wouldn't recommend it. Especially on Windows. Always better to use a native module rather than a 3rd party plugin
精彩评论