I am using either one the following statements to call a url from a python addin using a thread.
#os.startfile(url)
#webbrowser.open(url,new=0)
Both work with default browsers are either chrome or firefox. The problem it crashes ArcMap when MS Explorer 9 is the default browser. Anyone ran across this? Any suggestions?
Larry E. White
GIS Analyst/Programmer
West Virginia Department of Environmental Protection
def open_browser(url): import threading import webbrowser threading.Thread(target=webbrowser.open, args=(url,)).start()
I tried several different solutions and this one worked for me! Thanks all.