When adding slides via a modified python-pptx, placeholders appear for the slide number on each slide. Instead of the actual slide number, however, the words "Slide Number" appears in that field.
Other answers mention using a static text box, but we need the placeholder to be used, as we transfer create slides to a variety of client masters. A standard textbox would not correctly adjust to varied layouts. We also need the box to float, so that we can place photos behind it on some pages. Finally, it must be dynamic, as we often shuffle pages afterward, so passing it the index as a static number would cause issues.
Is there a string or command that can be inserted into the placeholder that would automatically pull the slide's position in the deck? The master uses the combination "<#>", but this doesn't work when passed as a string.
Apologies for my ignorance, I've only been working with python and python-pptx for a couple weeks (huge thanks to its creators!).