

Error ¶Įxception raised when a browser control error occurs. The following exception is defined: exception webbrowser. WebAssembly platforms for more information. This module does not work or is not available on WebAssembly platforms t opens the URL in a new browser page (“tab”). Parameters: -n opens the URL in a new browser window, if possible The script webbrowser can be used as a command-line interface for the If remoteīrowsers are not available on Unix, the controlling process will launch a new
OPERA BROWSER DOWNLOAD VIEW TEXT ONLY WINDOWS
1įor non-Unix platforms, or when a remote browser is available on Unix, theĬontrolling process will not wait for the user to finish with the browser, butĪllow the remote browser to maintain its own windows on the display.

Interpreted as the name of the browser to launch. Substituted for %s if the part does not contain %s, it is simply Interpreted as a literal browser command line to be used with the argument URL When the value of a list part contains the string %s, then it is Os.pathsep-separated list of browsers to try ahead of the platformĭefaults. If the environment variable BROWSER exists, it is interpreted as the If text-mode browsers are used, the calling process will block until Will be used if graphical browsers are not available or an X11 display isn’tĪvailable. Under Unix, graphical browsers are preferred under X11, but text-mode browsers Open() function from this module will do the right thing. Under most circumstances, simply calling the The webbrowser module provides a high-level interface to allow displaying

Webbrowser - Convenient web-browser controller ¶
