Open a browser URL using Python


import modules

import webbrowser

create dummy dataframe

#select the url you want to open
url = ''

#set browser path
chrome_path = 'open -a /Applications/Google\ %s'

#open browser, search URL

Your browser should open after running the above. Your Chrome path may vary, so if you need to debug I would recommend starting there.