def prompt(name, default):
    """
    Prompts user for raw input.

    :return: Raw input value from user.
    """
    value = raw_input('%s [%s]: ' %(name, default))
    if not value:
        value = default
    return value
def prompt ( name , default ) : value = raw_input ( '%s [%s]: ' % ( name , default ) ) if not value : value = default return value
Prompts user for raw input.

    :return: Raw input value from user.