Documentation
¶
Overview ¶
Package pywebbrowser opens URLs the way the CPython 3.14 webbrowser module does
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Shows the url in the first browser of the try order that accepts it, new 0 same window, 1 window, 2 tab
func ScriptForTests ¶
ScriptForTests builds the registry anew from a scripted environment and search path until the returned restore runs
Types ¶
type Controller ¶
Name and basename of a resolved controller
func Get ¶
func Get() (Controller, error)
First controller of the try order that resolves, an Error when none does
type Error ¶
type Error struct{ Msg string }
Failure webbrowser.Error reports, no runnable browser or a bad new value
func (*Error) PyTypeName ¶
Python exception class of the failure
type IndexError ¶
type IndexError struct{ Msg string }
Failure of a blank BROWSER entry whose first word is read
func (*IndexError) Error ¶
func (e *IndexError) Error() string
func (*IndexError) PyTypeName ¶
func (e *IndexError) PyTypeName() string
Python exception class of the failure
type ValueError ¶
type ValueError struct{ Msg string }
Refusal of a url whose first non blank character is a dash
func (*ValueError) Error ¶
func (e *ValueError) Error() string
func (*ValueError) PyTypeName ¶
func (e *ValueError) PyTypeName() string
Python exception class of the refusal