import string


def titlecase_spaces(a_string):
    """
    Externally some strings that are UPPER_CASED_WITH_UNDERSCORES should be
    Title Cased With Spaces.
    """
    a_string = a_string.replace('_',' ')
    return string.capwords(a_string)