S
S
ssssergey2015-02-01 16:43:18
Python
ssssergey, 2015-02-01 16:43:18

Why doesn't alignment work in Word using the python library win32com.client?

worddoc.Paragraphs.LineSpacingRule = win32com.client.constants.wdLineSpaceSingle
Python swears at this line. Writes -
File "C:\Python34\lib\site-packages\win32com\client\__init__.py", line 170, in __getattr__
raise AttributeError(a)
AttributeError: wdLineSpaceSingle

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question