|
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
string(self,
question,
converters=[ ] ,
help=None,
hints=None,
default=None,
convert_default=True,
strip_flanking_space=False)
Ask for and return text from the user. |
source code
|
|
|
text(self,
question,
converters=[ ] ,
help=None,
hints=None,
default=None,
strip_flanking_space=False)
Ask for and return text from the user. |
source code
|
|
|
integer(self,
question,
converters=[ ] ,
help=None,
hints=None,
default=None,
convert_default=True,
min=None,
max=None) |
source code
|
|
|
short_choice(self,
question,
choice_str,
converters=[ ] ,
help=None,
default=None)
Ask the user to make a choice using single letters. |
source code
|
|
|
yesno(self,
question,
help=None,
default=None) |
source code
|
|
|
ask_long_choice(self,
question,
choices,
help=None,
default=None)
Ask the user to make a choice from a list. |
source code
|
|
|
_ask(self,
question,
converters=[ ] ,
help=None,
choices=[ ] ,
hints=None,
default=None,
convert_default=True,
multiline=False,
strip_flanking_space=True)
Ask for and return an answer from the user. |
source code
|
|
|
_clean_text(self,
text)
Trim, un-wrap and rewrap text to be presented to the user. |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|