reading coreproperties keywords from docx file with python-docx -
from script here see how set document keywords coreproperties function of python-docx. want @ keywords in document written else. there getcoreproperties function or keywords attribute or similar?
i've grepped in folder c:\python27\lib\site-packages\python_docx-0.5.0-py2.7.egg\docx , none of .py files there have string "core" in them, , i've called doc() on few things without finding promising. where/how should clues kind of thing?
the python-docx library doesn't have support core properties of v0.5.0. happens, should relatively easy remedy.
the python-pptx sister project has support core properties, explained here: http://python-pptx.readthedocs.org/en/latest/api/presentation.html#coreproperties-objects
since 2 projects based on same architecture, code should reusable as-is. turns out core-properties bits common the open packaging convention, same 3 of ms office xml file formats.
if you'll add issue on github issue tracker i'll see how can it. https://github.com/python-openxml/python-docx/issues
Comments
Post a Comment