Created
August 20, 2015 21:02
-
-
Save pirafrank/cd62f7def8f56ff986af 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