Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a026db9 + c7b0e21 commit 2e64a0bCopy full SHA for 2e64a0b
1 file changed
Doc/library/webbrowser.rst
@@ -36,7 +36,9 @@ The script :program:`webbrowser` can be used as a command-line interface for the
36
module. It accepts an URL as the argument. It accepts the following optional
37
parameters: ``-n`` opens the URL in a new browser window, if possible;
38
``-t`` opens the URL in a new browser page ("tab"). The options are,
39
-naturally, mutually exclusive.
+naturally, mutually exclusive. Usage example::
40
+
41
+ python -m webbrowser -t "http://www.python.org"
42
43
The following exception is defined:
44
0 commit comments