如何将画面 (twbx) 文件读入 python?

How to read in tableau (twbx) file into python?

我想使用 Tableau 文件中的数据通过 python 生成一些自定义输出。我无权访问 运行 'Tabpy' 库的 Tableau 服务器。

还有其他方法吗?

提前致谢

您可能会发现以下 link 有用。 https://community.tableau.com/thread/152463

主题中的一个帖子提到了以下值得探讨的内容:

If you're looking to generate a TWBX dynamically, you should rename your .twbx file to .zip, extract the contents and you can do whatever you want with those in Python to dynamically create or adjust a workbook file. The structure / definition of the workbook file is just XML so no special code needed to read and parse that.