parameters: (self)
return_statement: return static_file(resource_path, root=package_root)
docstring: Serve the 'index.html' file.
docstring_summary: Serve the 'index.html' file.
docstring_tokens: Serve the index . html file .
function: def serve_index(self):
  
          """
          Serve the 'index.html' file.
          """
  
          resource_package = __name__
          resource_path = "index.html"
          package_root = resource_filename(resource_package, "")
          return static_file(resource_path, root=package_root)
function_tokens: def serve_index ( self ) : resource_package = __name__ resource_path = "index.html" package_root = resource_filename ( resource_package , "" ) return static_file ( resource_path , root = package_root )