def get_static_page_by_path(path):
 if (path == 'index_2.html'):
  return get_static_index_page(False)
 elif (path == 'index.html'):
  return get_static_index_page(True)
 elif (path == 'NLTK Wordnet Browser Database Info.html'):
  return 'Display of Wordnet Database Statistics is not supported'
 elif (path == 'upper_2.html'):
  return get_static_upper_page(False)
 elif (path == 'upper.html'):
  return get_static_upper_page(True)
 elif (path == 'web_help.html'):
  return get_static_web_help_page()
 elif (path == 'wx_help.html'):
  return get_static_wx_help_page()
 else:
  return ("Internal error: Path for static page '%s' is unknown" % path)

def get_static_page_by_path ( path ) : if ( path == 'index_2.html' ) : return get_static_index_page ( False ) elif ( path == 'index.html' ) : return get_static_index_page ( True ) elif ( path == 'NLTK Wordnet Browser Database Info.html' ) : return 'Display of Wordnet Database Statistics is not supported' elif ( path == 'upper_2.html' ) : return get_static_upper_page ( False ) elif ( path == 'upper.html' ) : return get_static_upper_page ( True ) elif ( path == 'web_help.html' ) : return get_static_web_help_page ( ) elif ( path == 'wx_help.html' ) : return get_static_wx_help_page ( ) else : return ( "Internal error: Path for static page '%s' is unknown" % path )
return a static html page from the path given .