Help System For Python Applications
johnzenger at gmail.com
johnzenger at gmail.com
Tue May 16 12:20:58 EDT 2006
redefined.horizons at gmail.com wrote:
> On a related note, is there a way to fire up Adobe's Acorbat Reader or
> and Web Browser from Python and have the external application open a
> specified PDF or HTML file? (For example, I want to open the file
> "myhelp.pdf" in reader from Python code.)
The webbrowser module lets you open any page. HTML will open in the
user's default web browser; PDF opens in Acrobat (at least on my
Windows machine).
>>> import webbrowser
>>> webbrowser.open(r"C:\\helpfile.pdf")
More information about the Python-list
mailing list