The WebBrowser module

The WebBrowser module can be used to add HTML-based help to a plug-in such as a custom member . To access documentation that is available for the WebBrowser module, you can use the built-in Python functions dir() and help() .

SDS2 Python Prompt

>>> import WebBrowser                            # import the module
>>>
>>> dir(WebBrowser)                                 # do a dir() on the module name
['Open', 'OpenHelp', '__doc__', '__name__', '__package__']
>>>
>>> help(WebBrowser.Open)                     # get help on Open function
Help on built-in function Open:

Open(...)
C++ signature:
Open(std::string) -> void*

>>> help(WebBrowser.OpenHelp)              # get help on OpenHelp function
Help on built-in function OpenHelp:

OpenHelp(...)
C++ signature:
OpenHelp(std::string) -> void*

page 1 | contents | modules | top