Python Library Reference
Previous: Up: 18.1 webbrowser Next:


18.1.1 Browser Controller Objects

Browser controllers provide two methods which parallel two of the module-level convenience functions:

open( url[, new[, autoraise=1]])
Display url using the browser handled by this controller. If new is 1, a new browser window is opened if possible. If new is 2, a new browser page ("tab") is opened if possible.

open_new( url)
Open url in a new window of the browser handled by this controller, if possible, otherwise, open url in the only browser window. Alias open_new.

open_new_tab( url)
Open url in a new page ("tab") of the browser handled by this controller, if possible, otherwise equivalent to open_new. New in version 2.5.

Python Library Reference
Previous: Up: 18.1 webbrowser Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /