native_client_sdk/src/tools/create_nmf.py
def SplitPath(path):
  """Returns all components of a path as a list.

  e.g.
  'foo/bar/baz.blah' => ['foo', 'bar', 'baz.blah']
  """
  result = []
  while path:
    path, part = os.path.split(path)
    result.append(part)
  return result[::-1]  # Reverse.
Returns all components of a path as a list.

  e.g.
  'foo/bar/baz.blah' => ['foo', 'bar', 'baz.blah']
  
Returns all components of a path as a list.
Returns all components of a path as a list .
def SplitPath(path):
  result = []
  while path:
    path, part = os.path.split(path)
    result.append(part)
  return result[::-1]  
def SplitPath ( path ) : result = [ ] while path : path , part = os . path . split ( path ) result . append ( part ) return result [ : : - 1 ]
Returns all components of a path as a list.
Returns all components of a path as a list .
"""Returns all components of a path as a list.

  e.g.
  'foo/bar/baz.blah' => ['foo', 'bar', 'baz.blah']
  """ # Reverse.
path