从 Python 中的本地文件路径获取 Google 工作表 ID
Get Google Sheets ID from local file path in Python
我有一个 Google 的 Sheets spreadsheet 其本地路径是
G:/My Drive/MyFolder/MySheet.gsheet
如何获取点差的 IDsheet -- 出现在其 link 中并可用于引用 [=20= 中的 sheet 的 ID ]'s Sheets API -- 来自本地路径?我正在使用 Python 和 API。
您无法在表格 API 中从您的计算机对本地路径执行操作。如果你通过 Comprehensive Guide, there's no such thing. You can see the available operations in the reference.
我有一个 Google 的 Sheets spreadsheet 其本地路径是
G:/My Drive/MyFolder/MySheet.gsheet
如何获取点差的 IDsheet -- 出现在其 link 中并可用于引用 [=20= 中的 sheet 的 ID ]'s Sheets API -- 来自本地路径?我正在使用 Python 和 API。
您无法在表格 API 中从您的计算机对本地路径执行操作。如果你通过 Comprehensive Guide, there's no such thing. You can see the available operations in the reference.