Is it possible to open a pdf from within Python such that it goes to a specific page or section? What I am thinking is to have it open a help file (pdf) and jump to the section that the help is being requested for.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
Here are two basic ideas Case 1: you want to open the file in Python
As for the section, you can have a look to this answer Case 2: you want to call acrobat to open your file at a specific pageFrom this Acrobat help document, you can pass this to a subprocess:
Just a suggestion: if you want to open the file at a specific section, you could use the parameter |
|||||
|
tryblock in case the user does not have Adobe Reader installed. Does anybody know of a argument to send Adobe Reader to open to a specific page? – Das.Rot Apr 4 '12 at 16:46