to print either:
print('No data found.')
else:
print('Name, Major:')
Actual Behavior
Opening in existing browser session.
Traceback (most recent call last):
File "quickstart.py", line 55, in <module>
main()
File "quickstart.py", line 35, in main
with open('token.pickle', 'wb') as token:
IOError: [Errno 13] Permission denied: 'token.pickle'
clicked enable the Google Sheet API set up with default setting: desktop app - downloaded .json file and stored in the same folder as the quickstart.py
ran 'sudo pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib'
changed quickstart.py Sheet ID to match that of my sheet I had set up
run 'python quickstart.py'
pops up a window to authorise
choose user and click authorise
returned to screen and throws the error:
Traceback (most recent call last):
File "quickstart.py", line 55, in <module>
main()
File "quickstart.py", line 35, in main
with open('token.pickle', 'wb') as token:
IOError: [Errno 13] Permission denied: 'token.pickle'
Expected Behavior
to print either:
print('No data found.')
else:
print('Name, Major:')
Actual Behavior
Steps to Reproduce the Problem
Following quickstart.py example:
https://developers.google.com/sheets/api/quickstart/python#troubleshooting
Specifications
Python 2.7.16)PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
The text was updated successfully, but these errors were encountered: