2 """Quote & escape string so client interprets it as single token."""
10 return ''.join(quoted)
13 def stringify_yx(tuple_):
14 """Transform tuple (y,x) into string 'Y:'+str(y)+',X:'+str(x)."""
15 return 'Y:' + str(tuple_[0]) + ',X:' + str(tuple_[1])