def Dictionary_to_XmlTupleString(python_dictionary):
    """transforms a python dictionary into a xml line in the form
    <Tuple key1="value1" key2="value2"..keyN="valueN" />"""
    prefix="<Tuple "
    postfix=" />"
    inner=""
    xml_out=""
    for key,value in python_dictionary.items():
        inner=inner+'{0}="{1}" ' .format(key,value)
        xml_out=prefix+inner+postfix
    return xml_out