def hexily_d(n):
    """
    Support-function, produces one single \\xHH escape from a character.
    """
    s = hex(n).replace("0x", "")
    if len(s) < 2:
        return ("\\x0"+s)
    else:
        return ("\\x"+s)