#NEWLINE# @ staticmethod #NEWLINE# def split_path( path ) : #NEWLINE# #INDENT# '\n        Splits a path into path components\n\n        @param path: path to split\n        ' #NEWLINE# ( rest , tail ) = os . path . split ( path ) #NEWLINE# if ( len ( rest ) == 0 ) : #NEWLINE# #INDENT# return ( tail , ) #NEWLINE# #UNINDENT# return ( Utils . split_path ( rest ) + ( tail , ) )