def raw(text):
    """Returns a raw string representation of text"""
    new_string=''
    for char in text:
        try: new_string+=escape_dict[char]
        except KeyError: new_string+=char
    return new_string
Returns a raw string representation of text
recipes/Python/65211_Convert_string_inraw/recipe-65211.py