Sunday, July 6, 2008

Launching the default web brower with Python

I found this in standard modules. So I put it here for a record: To open a certain web page(google.com, for example) with the system default web browse programmatically, do the following:
import webbrowser webbrowser.open('http://google.com')
Python didn't let me down this time.....again!

No comments: