Hyou提供一个简单的Pythonic界面来操作Google电子表格数据。
简单使用:
import hyoucollection = hyou.login('/path/to/credentails.json')spreadsheet = collection['1ZYeIFccacgHkL0TPfdgXiMfPCuEEWUtbhXvaB9HBDzQ']worksheet = spreadsheet['Sheet1']print worksheet[1][0] # "banana"print worksheet[1][1] # "50"worksheet[2][0] = "cinamon"worksheet[2][1] = 40worksheet.commit()
评论