简体   繁体   中英

Execute python script from within google sheets

从谷歌工作表运行python脚本最简单的方法是什么,或者当google工作表打开时执行python脚本?

I'm assuming you have some python asset that you would like to use to modify data on Google Sheets. If that's the case, then I think your best option is to use Google APIs to access Google Sheets from python. You can use any of the following two tutorials by Twilio to achieve that.

If you want to add the python asset into Google sheets (Ex. as a custom function), then it will be much easier to rewrite it in JS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM