Hello,
I’m new to Python, so please bare with me. I would like to use python-docx within Dynamo to be able (or try) to write to a Word document.
I went on the website for it and it explains how to install it using pip install but I don’t know how that works in IronPython through Dynamo or if it’s possible to use in Dynamo.
I’ve installed python-docx and lxml (a dependency) in a local folder but I don’t know how to access it.
So far I’ve tried this code but it can’t seem to get the library.
import clr
import sys
sys.path.append(r’[local path where python-docx is installed]')
Is there something I’m missing when it comes to Python packages? Does it need to be put in a specific spot?
Any help is appreciated!
Thanks!
Lynn