def simplegesture(name, point_list):
 g = Gesture()
 g.add_stroke(point_list)
 g.normalize()
 g.name = name
 return g

def simplegesture ( name , point_list ) : g = Gesture ( ) g . add_stroke ( point_list ) g . normalize ( ) g . name = name return g
a simple helper function .