def ask_text(need, default=None):
    need = need.strip()
    if default:
        msg = ('\n%s? Default: [%s] > ' % (need, default))
    else:
        msg = ('\n%s? > ' % need)
    while True:
        response = input(msg)
        if response:
            return response
        elif (default is not None):
            return default
        else:
            pass
def ask_text(need, default=None):
    need = need.strip()
    if default:
        msg = ('\n%s? Default: [%s] > ' % (need, default))
    else:
        msg = ('\n%s? > ' % need)
    while True:
        response = input(msg)
        if response:
            return response
        elif (default is not None):
            return default
        else:
            pass