webbrowser
Stdlib — NetworkingPython 2.0+Advanced
Open URLs in the user's default web browser
Quick Info
- Documentation
- Official Docs
- Python Version
- 2.0+
- Dependencies
- None — Python Standard Library
- Install
Included with Python
Learn by Difficulty
Quick Example
python
import webbrowser print(f"Module: webbrowser") print(f"Contents: {dir(webbrowser)[:10]}")
The webbrowser module is part of Python's standard library. Open URLs in the user's default web browser.
Try in PlaygroundTags
stdlibnetworkinginternet