20 ms·
Same thing happened to me: I wrote the module that does Microsoft Office files in Python. At the time, the solutions for doing it in Python were 'talk to some J
by nailer 10y ago
Same thing happened to me: I wrote the module that does Microsoft Office files in Python. At the time, the solutions for doing it in Python were 'talk to some Java library' or 'talk to some .net library'. I read the openxml spec and made something which did basic creation, extracting text, modifying docs.
I totally didn't have time to maintain it, then Scanny took over. It's now hugely popular, the code handles non-Word OpenXML docs, and most of the code has been added or refactored under Scanny.
https://python-docx.readthedocs.io/en/latest/ https://python-docx.readthedocs.io/en/latest/
- pix64 10y agoI seriously just used this a couple weeks ago. Was thinking about implementing some more features as I had to drop down to manually editing the XML.
- archimedespi 10y agoMad props to you for creating that and Scanny for taking over! It's helped me automate some really nasty boring stuff that had to be done in Word.