title: Convert this curl cmd to Python 3
body: <p>The following curl command works perfectly (private data anonymized):</p>
  
  <pre><code>curl -X POST 'https://api.twilio.com/2010-04-01/Accounts/abc/SMS/Messages.json' \
  -d 'From=%2B14155551234' \
  -d 'To=%2B17035551212' \
  -d 'Body=This+is+a+test' \
  -u foo:bar
  </code></pre>
  
  <p>How can I send out this exact same HTTPS POST request in the proper Python3.3 way? I don't want to have to use anything other than Python 3.3's standard library if I can avoid it (in other words, not using the twilio python module, or "requests", or pycurl, or anything outside the plain vanilla Python 3.3 installation).</p>
  
  <p>The preferred Python approach seems to keep evolving from version to version, the snippets I find by Googling never mention which version they're using or don't do the login part, the Python docs are full of "deprecated since 3.x" but never include code examples of the new way to do things....</p>
  
  <p>If curl can do this so easily, so can standard Python 3.3. But how exactly is this <em>supposed</em> to be done now?</p>