def get(data,key):
    """
    Returns the value corresponding to a key, if it exists.
    
    Otherwise it returns an empty string.
    """
    try:
        value = data[key]
    except KeyError:
        value = ''
    return value