web browser controller module in Python
I’m currently making a school project in Python and came to the point where I wanted to open my webbrowser trough my application. To my surprise, I found a module named webbrowser which is just as easy to use as lifting your arm. It only requires two lines of code.
Open specified URL in standard browser
import webbrowser
webbrowser.open(“http://pbeblog.wordpress.com/”)
More information:
http://docs.python.org/lib/module-webbrowser.html
4 comments