-
-
Save TeijiW/5051f9aad7681de5307e02322c4444bd to your computer and use it in GitHub Desktop.
Open an URL in the default browser. Python snippet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import webbrowser | |
webpage = 'http://www.google.com' | |
webbrowser.open_new_tab(webpage) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment