web programming webbrowser the webbrowser module provides utility functions for opening documents in web browser in platform-independent manner the main use of this module is in development and testing situations for exampleif you wrote script that generated html outputyou could use the functions in this module to automatically direct your system' browser to view the results open(url [new [autoraise]]displays url with the default browser on the system if new is the url is opened in the same window as running browserif possible if new is new browser window is created if new is the url is opened within new tab within the browser if autoraise is truethe browser window is raised open_new(urldisplays url in new window of the default browser the same as open(url open_new_tab(urldisplays url in new tab of the default browser the same as open(url get([name]returns controller object for manipulating browser name is the name of the browser type and is typically string such as 'netscape''mozilla''kfm''grail''windows-default''internet-config'or 'command-linethe returned controller object has methods open(and open_new(that accept the same arguments and perform the same operation as the two previous functions if name is omitteda controller object for the default browser is returned register(nameconstructor[controller]registers new browser type for use with the get(function name is the name of the browser constructor is called without arguments to create controller object for opening pages in the browser controller is controller instance to use instead if suppliedconstructor is ignored and may be none controller instancecreturned by the get(function has the following methodsc open(url[new]same as the open(function open_new(urlsame as the open_new(function lib fl ff