Studio theYANG introduces the open-source library python-docx to help embed your web system into document flow. The library, currently versioned at 0.8.6, is under MIT License and has contributed to SOCODEVI‘s external reports.
The programmed Microsoft Office document generation relieves your staff from repetitious work: copying data from web system and reformatting these pasted data. It also improves the professionalism of your final documents because the style and formatting differences are minimized.
Since 2007, Microsoft Office has been promoting the Office Open XML file formats (.docx, .xlsx and .pptx) in favor of binary formats (.doc, .xls and .ppt), which allows improved programmability of all types of documents. The new format has been standardized into ECMA-376 and ISO/CEI IS 29500, covering all available functionalities and details within thousand-page-long documents.
The open-source library `python-docx` provides most basic functionalities out of the box but also opens up to XML-level operations, allowing any possible customization that is specific to your needs. Web system consultants are perfect for this work as they are naturally fluent with (X)HTML, a close variant of XML language.
Microsoft Office may not comply with all the Office Open XML specifications and unprofessional work may lead to glitches as in the screenshot below, which would compromise the credibility of your web system.

If you are interested in Office automation in your web system or the other way around, we are pleased to offer the best solution.
