结帐图书馆pygsheets,我写了google sheet api v4,使用上面的内容可以通过以下方式实现
import pygsheets
gc = pygsheets.authorize()
# Open spreadsheet and then workseet
sh = gc.open('my new ssheet')
wks = sh.sheet1
# Update the range
wks.update_cells(crange='E1:H1', [[temp,pressure,humidity]])