title: what should be the file location in python for gpread credentials to be accessed by ServiceAccountCredentials.from_json_keyfile_name
body: <p>what should be the file location in python for gpread credentials to be accessed by ServiceAccountCredentials.from_json_keyfile_name?</p>
  
  <p>this is my code: </p>
  
  <pre><code>import gspread
  from oauth2client.service_account import ServiceAccountCredentials
  
  # use creds to create a client to interact with the Google Drive API
  scope = ['https://spreadsheets.google.com/feeds']
  creds = ServiceAccountCredentials.from_json_keyfile_name('PythonGspread-c6fb2247fb25.json', scope)
  client = gspread.authorize(creds)
  
  # Find a workbook by name and open the first sheet
  sheet = client.open("Python").sheet1
  
  # Make sure you use the right name here.
  # Extract and print all of the values
  list_of_hashes = sheet.get_all_records()
  'result = sheet.cell(2,1).value'
  print(list_of_hashes)
  print("\n")
  print(result)
  input("Press enter to exit ;)")`
  </code></pre>