def listfill(self, selector, data):
        """Bind list of items to HTML list. In the event of selector yielding 
        more than prototype item, these are cycled over to be cloned and filled.
        """
        proto = self(selector)
        parent = proto.parent()
        proto.remove()
        N = len(proto)
        for idx, item in enumerate(data):
            parent.append(proto.eq(idx % N).clone().text(item))
Bind list of items to HTML list. In the event of selector yielding 
        more than prototype item, these are cycled over to be cloned and filled.
        
recipes/Python/577983_HTML_template_animatibuilt/recipe-577983.py