parameters: (self)
return_statement: return val
docstring: Returns the depth in the folder hierarchy from the filesystem root or from all the file drives
  
  		:returns: filesystem depth
  		:rtype: integer
docstring_summary: Returns the depth in the folder hierarchy from the filesystem root or from all the file drives
docstring_tokens: Returns the depth in the folder hierarchy from the filesystem root or from all the file drives
function: def height(self):
  		"""
  		Returns the depth in the folder hierarchy from the filesystem root or from all the file drives
  
  		:returns: filesystem depth
  		:rtype: integer
  		"""
  		d = self
  		val = -1
  		while d:
  			d = d.parent
  			val += 1
  		return val
function_tokens: def height ( self ) : d = self val = - 1 while d : d = d . parent val += 1 return val