How can I read a .twbx file in python?

0 votes
I would like to produce some custom output with python with data from Tableau files but I dont have access to the Tableau server to run the 'Tabpy' library. Is there any other way to do it?
Aug 24, 2018 in Tableau by ghost
• 1,790 points
356 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I hope this link helps you out: https://community.tableau.com/thread/152463

One of the posts in the thread mentioned the following which is worth exploring:

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.

answered Aug 24, 2018 by Atul
• 5,490 points

Related Questions In Tableau

0 votes
1 answer

How can I count the aggregate function in Tableau

Create two calculated fields one for 100's ...READ MORE

answered Apr 5, 2018 in Tableau by Atul
• 10,220 points
1,078 views
0 votes
0 answers

How can I sort date field in presence of another date field in Tableau?

Goal: Sort the new ship date in ...READ MORE

Apr 10, 2018 in Tableau by ghost
• 1,790 points
83 views
0 votes
1 answer

How can I calculate the median of sales price using 3 variables in Tableau

First let me clarify things for you. ...READ MORE

answered Apr 11, 2018 in Tableau by xyz
• 1,550 points
363 views
0 votes
1 answer

How can I add a row number for a specific field?

Hi @Noob, You can use RANK_DENSE function: "The function returns the ...READ MORE

answered Apr 17, 2018 in Tableau by Atul
• 5,490 points
20 views
0 votes
1 answer

how can i count the items in a list?

suppose you have a list a = [0,1,2,3,4,5,6,7,8,9,10] now ...READ MORE

answered May 2 in Python by Mohammad
• 1,400 points
56 views
0 votes
2 answers

How can I add text in the centre of a Donut Chart ?

Hi, You can read this for creating a donut ...READ MORE

answered Apr 4 in Tableau by CHERUKURI
• 15,460 points
348 views
0 votes
1 answer

How can I use Tableau to create a heatmap?

Step 1: Create an Excel Spreadsheet with ...READ MORE

answered Apr 2, 2018 in Tableau by Atul
• 5,490 points
440 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.