jeudi 26 novembre 2015

Opening a url in a *new window* (python)

I've been trying to use Python in order to open a certain webpage in a new window, and not in a new tab. From what I've heard :

import webbrowser
webbrowser.open_new('www.google.com')

should be used for a new window.
However, when I run the program, it opens the page in a new tab, and not in a new window.

Any suggestions? Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire