how to import webbrowser in python code example Example: python webbrowser module python -m webbrowser -t "http://www.python.org"