Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用pygsheets它可能列出worksheet帐户中的所有对象,但是是否可以获得每个工作簿的共享 URL 或直接 URL?
pygsheets
worksheet
谷歌表格网址的格式为
https://docs.google.com/spreadsheets/d/<spreadsheet id>/edit#gid=<worksheet id>
因此您可以使用 pygsheets 构建它,如下所示
url = "https://docs.google.com/spreadsheets/d/"+ssheet.id+"/edit#gid="+wks.id