Lines Matching refs:prompt
25 def __init__(self, blurb, input_handler, prompt=None): argument
35 if prompt is None:
36 prompt = ''
38 if prompt:
39 prompt += ' '
40 prompt += prompt_supp
41 self.prompt = self._format_text(prompt)
42 if self.prompt:
43 self.prompt += ' '
52 print(self.blurb, end=('\n' if self.prompt else ' '))
55 return self.input_handler.process(raw_input(self.prompt))
72 def append_question(self, blurb, input_handler, prompt=None): argument
83 prompt=(prompt and prompt % attrs)))