PDA

View Full Version : Python to open applications



MikeVaughanG
November 13th, 2009, 12:28 AM
Is there a way to make python force an application open?

What I would like to do is make Python open Firefox, to a certain URL.

Any help is much appreciated.

Can+~
November 13th, 2009, 12:32 AM
import webbrowser

webbrowser.open_new_tab("http://www.google.com")