Last active
August 29, 2015 14:07
-
-
Save lucidfrontier45/d9a6b60389c460bfa6d4 to your computer and use it in GitHub Desktop.
gdata text_db example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gdata.spreadsheet import service, text_db | |
client = text_db.DatabaseClient(username=user, password=password) | |
db = client.GetDatabases(name=spreadsheet_name)[0] | |
table = db.GetTables(name=worksheet_name)[0] | |
# notice that even if it is shown as some thing like "DD/MM/YY" in the table, timestamp or date should be YYYY-MM-DD | |
for row in table.FindRecords("timestamp > 2014-10-01"): | |
print row.content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you need first remove
atom
if use anaconda dist.