New submission from Arlen <[email protected]>:
Note: new to python, please provide any feedback
Currently webbrowser.open supports one url, and there is no fn for url
batching. I am proposing modifying webbrowser.open to support something along
these lines:
```
def open(*urls, new=0, autoraise=True):
...
browser = get(name)
actions = [browser.open(url, new, autoraise) for url in urls]
...
# usage
open('http://example.com', 'http://example2.com')
```
----------
components: Library (Lib)
messages: 333563
nosy: arlenyu
priority: normal
severity: normal
status: open
title: Modify to support multiple urls in webbrowser.open
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35731>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com