intficpy/sequence.py
def choose(self, tokens):
        """
        Try to use input tokens from the parser to choose an option in the current menu
        """
        ix = None
        if len(tokens) == 1:
            try:
                ix = int(tokens[0]) - 1
            except ValueError:
                pass
        if ix is not None and ix < len(self.options):
            self.position += [self.options[ix], 0]
        else:
            answer = self._match_text_to_suggestion(tokens)
            self.position += [answer, 0]
        self.play()

        Try to use input tokens from the parser to choose an option in the current menu
        
Try to use input tokens from the parser to choose an option in the current menu
Try to use input tokens from the parser to choose an option in the current menu
def choose(self, tokens):
        ix = None
        if len(tokens) == 1:
            try:
                ix = int(tokens[0]) - 1
            except ValueError:
                pass
        if ix is not None and ix < len(self.options):
            self.position += [self.options[ix], 0]
        else:
            answer = self._match_text_to_suggestion(tokens)
            self.position += [answer, 0]
        self.play()
def choose ( self , tokens ) : ix = None if len ( tokens ) == 1 : try : ix = int ( tokens [ 0 ] ) - 1 except ValueError : pass if ix is not None and ix < len ( self . options ) : self . position += [ self . options [ ix ] , 0 ] else : answer = self . _match_text_to_suggestion ( tokens ) self . position += [ answer , 0 ] self . play ( )
Try to use input tokens from the parser to choose an option in the current menu
Try to use input tokens from the parser to choose an option in the current menu
"""
        Try to use input tokens from the parser to choose an option in the current menu
        """
self
tokens