Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Open browswer from python (See related posts)

You can do it by starting browser app given url as a parameter.
import e32
apprun = 'z:\\system\\programs\\apprun.exe'
browser = 'z:\\System\\Apps\\Browser\\Browser.app'
url = 'http://www.google.com'

e32.start_exe(apprun, browser + ' "%s"' %url , 1)

Nick Burch also write a webbrowser.py module to allow
using opera and any other browswers.

You need to create an account or log in to post comments to this site.


Click here to browse all 5059 code snippets

Related Posts