Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to updating data in the table with the original format intact #1037

Open
40cents opened this issue Jan 4, 2025 · 1 comment
Open

how to updating data in the table with the original format intact #1037

40cents opened this issue Jan 4, 2025 · 1 comment

Comments

@40cents
Copy link

40cents commented Jan 4, 2025

I have a powerpoint with loads of tables which needs to be updated on a daily basis. However, each time I try to update data using python-pptx, the format would be ruin and I have to manually adjust it. Any way I can fix this?

@MartinPacker
Copy link

The approach I would take is to create a "template" presentation - with all the table slides in.

Then use python-pptx to create a presentation based on that - and save it as a new presentation.

Are you having difficulties with that approach? For example, navigating to each table?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants