0

I'm a PHP programmer. What module can I use in Python to do the same that cURL does?

Best Regards,

André
  • 23,203
  • 42
  • 115
  • 174
  • possible duplicate of [CURL alternative in Python](http://stackoverflow.com/questions/2667509/curl-alternative-in-python) – André Caron Feb 28 '11 at 14:39

2 Answers2

2

Take a look at python's "urllib2"

Lixas
  • 5,997
  • 2
  • 22
  • 41
1

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

Uku Loskit
  • 39,250
  • 9
  • 87
  • 91