webbrowser Table of Contents Overview Overview # Open an url in a new tab(-t) $ python -m webbrowser -t "http://www.python.org" # With python code: import webbrowser webbrowser.open_new_tab('http://yeonghoey.com') https://docs.python.org/2/library/webbrowser.html