当谷歌工作表获得新值时,如何运行 python 脚本?

ait*_*tor 1 python automation google-sheets google-apps-script airtable

我有一个谷歌工作表,每天 5 次向该工作表附加新值。每次包含值时我都需要运行本地 python 脚本,我该怎么做?

Jus*_*ing 5

您熟悉 Google Sheet API 吗?

https://developers.google.com/sheets/api/quickstart/python

这应该可以让你开始。至于每次覆盖工作表时自动运行脚本,请检查元数据部分以了解如何同步数据。然后,选择您最喜欢的方式在系统后台定期运行脚本。