CURL alternative in Python

Posted by Gaurav on Stack Overflow See other posts from Stack Overflow or by Gaurav
Published on 2010-04-19T12:55:12Z Indexed on 2010/04/19 13:03 UTC
Read the original article Hit count: 158

Filed under:
|

I have a cURL call that I use in PHP:

curl -i -H 'Accept: application/xml' -u login:key "https://app.streamsend.com/emails"

I need a way to do the same thing in Python. Is there an alternative to cURL in Python. I know of urllib but I'm a Python noob and have no idea how to use it.

© Stack Overflow or respective owner

Related posts about python

Related posts about curl