webbrowser
index
/usr/lib/python2.2/webbrowser.py

Interfaces for launching and remotely controlling Web browsers.

 
Modules
            
os
sys
 
Classes
            
exceptions.Exception
Error
GenericBrowser
Grail
InternetConfig
Konqueror
Netscape
WindowsDefault
 
class Error(exceptions.Exception)
       
   Data and non-method functions defined here:
__doc__ = None
__module__ = 'webbrowser'

Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)
 
class GenericBrowser
       
   Methods defined here:
__init__(self, cmd)
open(self, url, new=0, autoraise=1)
open_new(self, url)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'webbrowser'
 
class Grail
       
   Methods defined here:
_find_grail_rc(self)
# There should be a way to maintain a connection to Grail, but the
Grail remote control protocol doesn't really allow that at this
# point.  It probably neverwill!
_remote(self, action)
open(self, url, new=0, autoraise=1)
open_new(self, url)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'webbrowser'
 
class InternetConfig
       
   Methods defined here:
open(self, url, new=0, autoraise=1)
open_new(self, url)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'webbrowser'
 
class Konqueror
      Controller for the KDE File Manager (kfm, or Konqueror).
 
See http://developer.kde.org/documentation/other/kfmclient.html
for more information on the Konqueror remote-control interface.
 
   Methods defined here:
__init__(self)
_remote(self, action)
open(self, url, new=1, autoraise=1)
open_new = open(self, url, new=1, autoraise=1)

Data and non-method functions defined here:
__doc__ = 'Controller for the KDE File Manager (kfm, or Ko... the Konqueror remote-control interface.\n\n '
__module__ = 'webbrowser'
 
class Netscape
      Launcher class for Netscape browsers.
 
   Methods defined here:
__init__(self, name)
_remote(self, action, autoraise)
open(self, url, new=0, autoraise=1)
open_new(self, url)

Data and non-method functions defined here:
__doc__ = 'Launcher class for Netscape browsers.'
__module__ = 'webbrowser'
 
class WindowsDefault
       
   Methods defined here:
open(self, url, new=0, autoraise=1)
open_new(self, url)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'webbrowser'
 
Functions
            
_iscommand(cmd)
Return true if cmd can be found on the executable search path.
_synthesize(browser)
Attempt to synthesize a controller base on existing controllers.
 
This is useful to create a controller when a user specifies a path to
an entry in the BROWSER environment variable -- we can copy a general
controller to operate using a specific installation of the desired
browser in this way.
 
If we can't create a controller in this way, or if there is no
executable for the requested browser, return [None, None].
get(using=None)
Return a browser launcher instance appropriate for the environment.
open(url, new=0, autoraise=1)
open_new(url)
register(name, klass, instance=None)
Register a browser connector and, optionally, connection.
 
Data
             PROCESS_CREATION_DELAY = 4
__all__ = ['Error', 'open', 'get', 'register']
__file__ = '/usr/lib/python2.2/webbrowser.pyc'
__name__ = 'webbrowser'
_browsers = {'links': [None, <webbrowser.GenericBrowser instance>], 'lynx': [None, <webbrowser.GenericBrowser instance>], 'mozilla': [None, <webbrowser.GenericBrowser instance>]}
_tryorder = ['mozilla', 'links', 'lynx']
cmd = 'w3m'