parameters: (path)
return_statement: return path
docstring: Return the given path normalized.
  
      Converts a path to an absolute path, removes any trailing slashes,
      removes any extension, and lower-cases it.
docstring_summary: Return the given path normalized.
docstring_tokens: Return the given path normalized .
function: def _normalize_path(path):
      """Return the given path normalized.
  
      Converts a path to an absolute path, removes any trailing slashes,
      removes any extension, and lower-cases it.
  
      """
      path = os.path.abspath(path)
      path = os.path.normpath(path)
      path = os.path.splitext(path)[0]  # Remove the extension, if any.
      path = path.lower()
  
      return path
function_tokens: def _normalize_path ( path ) : path = os . path . abspath ( path ) path = os . path . normpath ( path ) path = os . path . splitext ( path ) [ 0 ] # Remove the extension, if any. path = path . lower ( ) return path