def save(self,path):
        writer = csv.writer(open(path,'wb'))
        
        keys = self.coords.keys()
        keys.sort()
        for key in keys:
            row = [key]
            for point in self.coords[key]:
                row.append(point[0])
                row.append(point[1])
            writer.writerow(row)
Save the coords to a csv file.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/gui/EyePicker.py/EyePickerFrame.save