title: How do you get gcloud access token in Python?
body: <p>I'm looking to do the equivalent of the following in Python with out having to call these command using something like <code>os.system</code> and look at the output. </p>
  
  <pre><code>export GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"
  export PROJECT_ID="my-project-name"
  gcloud auth application-default print-access-token
  </code></pre>
  
  <p>Can this be done with Google SDK?</p>