From Python 2.7 (Anaconda) on OS X, how do I open a URL in a web browser? The following syntax:
import urllib2
urllib2.urlopen("https://www.google.com/")
prints my running .py file to a browser window. I've tried many examples online with the same effect.
webbrowsermodule.