[Python] How to open new window with webbrowser module with registered browser

Discussão em 'Python' iniciado por Stack, Janeiro 26, 2025.

  1. Stack

    Stack Membro Participativo

    I want to open a new window but it opens the link in the same one.

    webbrowser.register('Chrome', None, webbrowser.BackgroundBrowser(path))
    webbrowser.get('Chrome').open(link, new=1)
    webbrowser.get('Chrome').open_new(link)

    Continue reading...

Compartilhe esta Página