title: Curl command in Python 3
body: <p>I want to execute a curl with command in python.</p>
  
  <p>Usually, I just need enter the command in terminal and press return key.</p>
  
  <p>The command shows below:</p>
  
  <pre><code>curl -H "`oauth2l header --json key.json mobileinsights`"  https://mobileinsights.googleapis.com/v2/networks
  </code></pre>
  
  <p>The result is in json format.</p>