How can I open url in new tab? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I open url in new tab?

26th Aug 2020, 7:12 PM
Jeremy Cruz
Jeremy Cruz - avatar
4 Answers
+ 1
webbrowser.open_new_tab(url) Open url in a new page (“tab”) of the default browser, if possible, otherwise equivalent to open_new(). pulled from: https://docs.python.org/3/library/webbrowser.html
26th Aug 2020, 7:45 PM
Slick
Slick - avatar
+ 1
Go through the link i sent
27th Aug 2020, 6:22 AM
Slick
Slick - avatar
+ 1
sorry, I didn’t mean ti hit post
27th Aug 2020, 6:25 AM
Jeremy Cruz
Jeremy Cruz - avatar
0
Does this work with the browser completely closed? I tried it, but it never opened.
27th Aug 2020, 5:13 AM
Jeremy Cruz
Jeremy Cruz - avatar