0

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

Best Regards,

André
  • 24,706
  • 43
  • 121
  • 178
  • 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
  • 6,938
  • 2
  • 25
  • 42
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
  • 40,868
  • 9
  • 92
  • 93