Get XY coordinates from word document with python

Hi, How can I get XY coordinates of all the text or some paragraphs with python. Is there any code example? And Also can we do this in pdf via python? Thanks

A post was merged into an existing topic: How can i get xy coordinates from word file with python?