1 parent f3e742a commit b22dc01Copy full SHA for b22dc01
1 file changed
samples/spreadsheets/spreadsheetExample.py
@@ -145,8 +145,11 @@ def _PrintFeed(self, feed):
145
print '%s %s\n' % (entry.title.text, entry.content.text)
146
elif isinstance(feed, gdata.spreadsheet.SpreadsheetsListFeed):
147
print '%s %s %s' % (i, entry.title.text, entry.content.text)
148
+ # Print this row's value for each column (the custom dictionary is
149
+ # built using the gsx: elements in the entry.)
150
+ print 'Contents:'
151
for key in entry.custom:
- print '%s: %s' % (key, entry.custom[key].text)
152
+ print ' %s: %s' % (key, entry.custom[key].text)
153
print '\n',
154
else:
155
print '%s %s\n' % (i, entry.title.text)
0 commit comments