import webbrowser webbrowser_new("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
Here is what the above code is Doing:
1. Importing the webbrowser module.
2. Calling the webbrowser.open() function, which opens the web browser and loads the page at the URL given as an argument.
3. Passing the URL of the page to open as a string to webbrowser.open().