python-pptx
python-pptx copied to clipboard
how to updating data in the table with the original format intact
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?
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?