def _split_every(text, sep, count, lstrip=False, rstrip=False):
ltr = "<STR_LIT>"[<NUM_LIT:2> * lstrip + rstrip].strip()<EOL>func = lambda x: getattr(x, ltr + "<STR_LIT>")() if ltr != "<STR_LIT:_>" else x<EOL>items = text.split(sep)<EOL>groups = zip_longest(*[iter(items)] * count, fillvalue="<STR_LIT>")<EOL>joints = (sep.join(group).rstrip(sep) for group in groups)<EOL>return tuple(func(joint) for joint in joints)<EOL>
Return list of the words in the string, using count of a separator as delimiter.

:param text: String to split
:type  text: string

:param sep: Separator
:type  sep: string

:param count: Number of separators to use as delimiter
:type  count: integer

:param lstrip: Flag that indicates whether whitespace is removed
               from the beginning of each list item (True) or not
               (False)
:type  lstrip: boolean

:param rstrip: Flag that indicates whether whitespace is removed
               from the end of each list item (True) or not (False)
:type  rstrip: boolean

:rtype: tuple