Please be informed that the webbrowser module is already a part of the python official library, as it comes bundled with your python foundation.
From the official documentation, you can use the package from the command prompt as follows:
python -m webbrowser -t "http://www.python.org"
Or from your own scripts:
import webbrowser
webbrowser.open('https://www.python.org')
If you are a beginner and want to know more about Python, then do check out the below Python tutorial video that will help you in understanding the topic in a better way: