def showpage(path):
 try:
  import webbrowser
  webbrowser.open_new(os.path.abspath(path))
 except:
  traceback.print_exc()

def showpage ( path ) : try : import webbrowser webbrowser . open_new ( os . path . abspath ( path ) ) except : traceback . print_exc ( )
helper function to open webpages .