title: CURL alternative in Python
body: <p>I have a cURL call that I use in PHP:</p>
  <pre class="lang-bash prettyprint-override"><code>curl -i -H 'Accept: application/xml' -u login:key &quot;https://app.streamsend.com/emails&quot;
  </code></pre>
  <p>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 have no idea how to use it.</p>