title: How to create a sheet under a specific folder with google API for python?
body: <p>I am able to create a sheet with the code below in the root of ‘My Drive’ but how do I create the sheet under a folder in “My Drive” or “Shared drives”?</p>
  
  <pre><code>from googleapiclient.discovery import build
  
  service = build(‘sheets’, ‘v4’, credentials=creds)
  sheet = service.spreadsheets()
  body = {}
  results = sheet.create(body=body).execute()
  pprint(results)
  </code></pre>