title: What is the equivalent Python code for the Curl URL. Is there any tutorial that shows how to convert curl to python?
body: <pre><code>curl -X PUT -H 'Content-Type: video/mp4' \
           -H &quot;Content-Length: 8036821&quot; \
           -T &quot;/Users/kenh/Downloads/amazing_race.mp4&quot; \
           &quot;https://hootsuite-video.s3.amazonaws.com/production/3563111_6923ef29-d2bd- 4b2a-a6d2-11295411c988.mp4?AWSAccessKeyId=AKIAIHSDDN2I7V2FDJGA&amp;Expires=1465846288&amp;Signature=3xLFijSn02YIx6AOOjmri5Djkko%3D&quot;
  </code></pre>
  <p>Mainly I do not understand how to user -T line. Headers and URL I know.</p>