The functions and classes in the humanfriendly package can be used to make text interfaces more user friendly. See also: https://github.com/xolox/python-humanfriendly