On http://docs.python.org/library/webbrowser.html There is the text: The script webbrowser can be used as a command-line interface for the module. It accepts an URL as the argument. It accepts the following optional parameters: -n opens the URL in a new browser window, if possible; -t opens the URL in a new browser page (“tab”). The options are, naturally, mutually exclusive. It might be helpful to readers if you could add some sample syntax such as: $ python -m webbrowser -t "http://www.python.org"
Hello Christian, On Wed, Apr 11, 2012 at 12:41 PM, Christian Clauss <cclauss@me.com> wrote:
It might be helpful to readers if you could add some sample syntax such as: $ python -m webbrowser -t "http://www.python.org"
Indeed, thanks - I've added an example to all the active branches. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi
participants (2)
-
Christian Clauss
-
Sandro Tosi