openign in browser python 1

openign in browser python

import webbrowser

webbrowser.open("https://google.com")

Here is what the above code is Doing:
1. Importing the webbrowser module
2. Calling the open() function from the webbrowser module
3. Passing the URL of the website we want to open as a string to the open() function

Similar Posts