The webbrowser module

(New in 2.0) This module provides a basic interface to the system’s standard webrowser. It provides a open function, which takes a file name or an URL, and displays it in the browser. If you call open again, it attempts to display the new page in the same browser window.

Example: Using the webbrowser module
# File:

import webbrowser
import time"")

# wait a while, and then go to another page

On Unix, this module supports lynx, Netscape, Mosaic, Konquerer, and Grail. On Windows and Macintosh, it uses the standard browser (as defined in the registry or the Internet configuration panel).


A Django site. rendered by a django application. hosted by webfaction.