We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12a171a commit 4c2120dCopy full SHA for 4c2120d
2 files changed
drive/driveapp/main.py
@@ -32,7 +32,7 @@
32
flow.redirect_uri = oauth2client.client.OOB_CALLBACK_URN
33
authorize_url = flow.step1_get_authorize_url()
34
print('Go to the following link in your browser: ' + authorize_url)
35
-code = raw_input('Enter verification code: ').strip()
+code = input('Enter verification code: ').strip()
36
credentials = flow.step2_exchange(code)
37
38
# Create an authorized Drive API client.
slides/quickstart/quickstart.py
@@ -37,7 +37,7 @@
.execute()
slides = presentation.get('slides')
39
40
-print ('The presentation contains {} slides:'.format(len(slides)))
+print('The presentation contains {} slides:'.format(len(slides)))
41
for i, slide in enumerate(slides):
42
print('- Slide #{} contains {} elements.' \
43
.format(i + 1, len(slide.get('pageElements'))))
0 commit comments