Colleagues:
This is driving me crazy. When I perform the same steps using the Python
Command Line, I get a returned value as expected. however, the same code placed
in visual Studio, I am not getting any output other than the message Press any
keys to continue. Please help!
Here is my sample code -- I imported the Py-Docx module.
import docx
def formatDoc():
doc = docx.Document("test.docx")
print(len(doc.paragraphs))
print("testing output")
I am expecting an integer returning the number of paragraphs in the doc object.
Rod Alcidonis, Esq.